diff options
author | TrueDoctor <d-kobert@web.de> | 2018-06-07 12:37:39 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-06-07 12:37:39 +0200 |
commit | 3c229a0952a59ce32d2b2b2a9399833962ccb0e1 (patch) | |
tree | bf78b60088a34434a12b9d5ebe281a92f23ebd77 /DiscoBot/Commands/MiscCommands.cs | |
parent | c1d0851ec35c410733da53b919541b8fab491407 (diff) |
fixed clerar command
changed Leben und asp to IChar extension
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); } |