Update Administration.cs
This commit is contained in:
parent
bd70dc21fd
commit
7dcf4f5a60
@ -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, int count)
|
public async Task Prune(IUserMessage umsg)
|
||||||
{
|
{
|
||||||
var channel = (ITextChannel)umsg.Channel;
|
var channel = (ITextChannel)umsg.Channel;
|
||||||
var user = channel.Guild.GetCurrentUser();
|
var user = channel.Guild.GetCurrentUser();
|
||||||
|
Loading…
Reference in New Issue
Block a user