mod_reswitched: Also allow togglemod

This commit is contained in:
Ave 2020-11-04 19:01:19 +03:00
parent 161caf30e6
commit 24182b11ca

View file

@ -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)