From 3c229a0952a59ce32d2b2b2a9399833962ccb0e1 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 7 Jun 2018 12:37:39 +0200 Subject: fixed clerar command changed Leben und asp to IChar extension --- DiscoBot/Commands/MiscCommands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DiscoBot/Commands/MiscCommands.cs') diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs index 46cd6eb..7de0f10 100644 --- a/DiscoBot/Commands/MiscCommands.cs +++ b/DiscoBot/Commands/MiscCommands.cs @@ -157,8 +157,8 @@ namespace DiscoBot.Commands } - [Command("clear"), Summary("Echos a message.")] - public async Task DeletekAsync(int count) + [Command("clear"), Summary("Cleans up messages.")] + public async Task DeleteAsync(int count) { var messagesAsync = Context.Channel.GetMessagesAsync(count); Task.WaitAll(messagesAsync.ToArray()); @@ -169,7 +169,7 @@ namespace DiscoBot.Commands messages.AddRange(task.ToList()); } - if (Permissions.Check(Context, new[] { "Admin", "Mod" })) + if (Permissions.Check(Context, new[] { "Admin", "Mod", "Meister" })) { await Context.Channel.DeleteMessagesAsync(messages); } -- cgit v1.2.3-54-g00ecf