From 9950ed549474f7a430269970bcf92d3a0a234fcd Mon Sep 17 00:00:00 2001 From: aikaterna Date: Sun, 14 Oct 2018 20:29:14 -0700 Subject: [PATCH] [V3 Trick or Treat] Moving a check... --- trickortreat/trickortreat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trickortreat/trickortreat.py b/trickortreat/trickortreat.py index 390e73f..8e353cc 100644 --- a/trickortreat/trickortreat.py +++ b/trickortreat/trickortreat.py @@ -338,6 +338,7 @@ class TrickOrTreat(BaseCog): ) @commands.guild_only() + @checks.mod_or_permissions(administrator=True) @commands.group() async def totchannel(self, ctx): """Channel management for Trick or Treat.""" @@ -365,7 +366,6 @@ class TrickOrTreat(BaseCog): await ctx.send(f"{channel.mention} is already in the list of Trick or Treat channels.") @commands.guild_only() - @checks.mod_or_permissions(administrator=True) @totchannel.command() async def remove(self, ctx, channel: discord.TextChannel): """Remove a text channel from Trick or Treating."""