예제 #1
0
        public async Task DeleteChannel(CommandContext ctx)
        {
            if (await ctx.Confirm())
            {
                await ctx.RespondAsync(embed : Embeds.Warning.WithDescription("Deleting channel in 5 seconds"));

                await Task.Delay(5000);

                await ctx.Channel.DeleteAsync();
            }
        }