diff options
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r-- | DiscoBot/Commands/MiscCommands.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |