Woops. Now only admins can use .antispamignore
This commit is contained in:
parent
4327741ebc
commit
e76f3216de
@ -194,6 +194,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[RequireContext(ContextType.Guild)]
|
[RequireContext(ContextType.Guild)]
|
||||||
|
[RequireUserPermission(GuildPermission.Administrator)]
|
||||||
public async Task AntispamIgnore()
|
public async Task AntispamIgnore()
|
||||||
{
|
{
|
||||||
var channel = (ITextChannel)Context.Channel;
|
var channel = (ITextChannel)Context.Channel;
|
||||||
|
Loading…
Reference in New Issue
Block a user