mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-03 19:15:26 +12:00
change order in give/remroles
This commit is contained in:
parent
3369c1fc70
commit
376d9fe38d
|
@ -316,7 +316,7 @@ class MoreAdmin(commands.Cog):
|
||||||
@commands.command(name="giverole")
|
@commands.command(name="giverole")
|
||||||
@checks.mod_or_permissions(manage_roles=True)
|
@checks.mod_or_permissions(manage_roles=True)
|
||||||
@checks.bot_has_permissions(manage_roles=True)
|
@checks.bot_has_permissions(manage_roles=True)
|
||||||
async def admin_addrole(self, ctx, role: discord.Role, *, user: discord.Member):
|
async def admin_addrole(self, ctx, user: discord.Member, *, role: discord.Role):
|
||||||
"""
|
"""
|
||||||
Add a role to a user.
|
Add a role to a user.
|
||||||
**Must be setup before hand with `[p]adminset`**
|
**Must be setup before hand with `[p]adminset`**
|
||||||
|
@ -343,7 +343,7 @@ class MoreAdmin(commands.Cog):
|
||||||
@commands.command(name="remrole")
|
@commands.command(name="remrole")
|
||||||
@checks.mod()
|
@checks.mod()
|
||||||
@checks.bot_has_permissions(manage_roles=True)
|
@checks.bot_has_permissions(manage_roles=True)
|
||||||
async def admin_remrole(self, ctx, role: discord.Role, *, user: discord.Member):
|
async def admin_remrole(self, ctx, user: discord.Member, *, role: discord.Role):
|
||||||
"""
|
"""
|
||||||
Removes a role to a user.
|
Removes a role to a user.
|
||||||
**Must be setup before hand with `[p]adminset`**
|
**Must be setup before hand with `[p]adminset`**
|
||||||
|
|
Loading…
Reference in a new issue