mod_reswitched: Also allow togglemod
This commit is contained in:
parent
161caf30e6
commit
24182b11ca
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class ModReswitched(Cog):
|
||||||
|
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
@commands.check(check_if_staff)
|
@commands.check(check_if_staff)
|
||||||
@commands.command()
|
@commands.command(aliases=["togglemod"])
|
||||||
async def modtoggle(self, ctx):
|
async def modtoggle(self, ctx):
|
||||||
"""Toggles your mod role, staff only."""
|
"""Toggles your mod role, staff only."""
|
||||||
target_role = ctx.guild.get_role(config.modtoggle_role)
|
target_role = ctx.guild.get_role(config.modtoggle_role)
|
||||||
|
|
Loading…
Reference in a new issue