Update Administration.cs

This commit is contained in:
samvaio 2016-12-01 16:58:06 +05:30 committed by GitHub
parent 41a8936b72
commit 35f4725d0f

View File

@ -635,7 +635,7 @@ namespace NadekoBot.Modules.Administration
//delets her own messages, no perm required //delets her own messages, no perm required
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
public async Task Prune(IUserMessage umsg) public async Task Prune(IUserMessage umsg, int count = 100)
{ {
var channel = (ITextChannel)umsg.Channel; var channel = (ITextChannel)umsg.Channel;
var user = channel.Guild.GetCurrentUser(); var user = channel.Guild.GetCurrentUser();