From 24182b11ca1399e28bb81677962d4dbc75ac5fdd Mon Sep 17 00:00:00 2001 From: Ave Date: Wed, 4 Nov 2020 19:01:19 +0300 Subject: [PATCH] mod_reswitched: Also allow togglemod --- cogs/mod_reswitched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/mod_reswitched.py b/cogs/mod_reswitched.py index 7bee668..95f3feb 100644 --- a/cogs/mod_reswitched.py +++ b/cogs/mod_reswitched.py @@ -24,7 +24,7 @@ class ModReswitched(Cog): @commands.guild_only() @commands.check(check_if_staff) - @commands.command() + @commands.command(aliases=["togglemod"]) async def modtoggle(self, ctx): """Toggles your mod role, staff only.""" target_role = ctx.guild.get_role(config.modtoggle_role)