Beispiel #1
0
        //[RequireUserPermission(GuildPermission.ManageMessages)]
        public async Task Pick([Remainder] string message)
        {
            var options = message.Split(new char[] { '|' }, StringSplitOptions.RemoveEmptyEntries);

            var r         = new Random();
            var selection = options[r.Next(0, options.Length)];

            //await ReplyAsync(embed: EmbedHandler.Neutral(selection));
            await ReplyAsync(embed : EmbedHandler.Neutral(selection));
        }
Beispiel #2
0
 public async Task Echo([Remainder] string message)
 {
     await Context.Channel.SendMessageAsync(embed : EmbedHandler.Neutral(message));
 }