From e76f3216deac8d4e7942888640edb23e8ef51548 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 25 Sep 2017 00:36:31 +0200 Subject: [PATCH] Woops. Now only admins can use .antispamignore --- src/NadekoBot/Modules/Administration/ProtectionCommands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NadekoBot/Modules/Administration/ProtectionCommands.cs b/src/NadekoBot/Modules/Administration/ProtectionCommands.cs index d9a2cd54..6a09692a 100644 --- a/src/NadekoBot/Modules/Administration/ProtectionCommands.cs +++ b/src/NadekoBot/Modules/Administration/ProtectionCommands.cs @@ -194,6 +194,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Usage, Description, Aliases] [RequireContext(ContextType.Guild)] + [RequireUserPermission(GuildPermission.Administrator)] public async Task AntispamIgnore() { var channel = (ITextChannel)Context.Channel;