Esempio n. 1
0
 public async Task BannedPhrases()
 {
     await Context.Channel.SendMessageAsync(string.Empty, false, Misc.GetBannedPhraseEmbed());
 }
Esempio n. 2
0
 public async Task Help()
 {
     await Context.Channel.SendMessageAsync(string.Empty, false, Misc.CreateHelpEmbed((SocketGuildUser)Context.User));
 }
Esempio n. 3
0
        public async Task Ping()
        {
            var before  = System.Environment.TickCount;
            var message = await Context.Channel.SendMessageAsync(string.Empty, false, Misc.CreatePingEmbed(Context.Guild.Name.ToString()));

            var after = System.Environment.TickCount;
            int ping  = after - before;
            await message.ModifyAsync(x =>
            {
                x.Embed = Misc.CreatePingEmbed2(Context.Guild.Name.ToString(), ping);
            });
        }
Esempio n. 4
0
 public async Task DevIntro()
 {
     await Context.Channel.SendMessageAsync("", false, Misc.CreateIntroEmbed());
 }