aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2020-09-27 17:08:27 +0200
committerGravatar Matteo Bertucci <[email protected]>2020-09-27 17:13:49 +0200
commit27f9e118d4f18cbfd4b64b28e6792b7fe4462523 (patch)
tree9e2d71cefc661427758c82032562b410def67c66
parentAllow !eval in #code-help-voice (diff)
Allow !role for any staff role
Closes #1173
-rw-r--r--bot/exts/info/information.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py
index 156dfec35..f6ed176f1 100644
--- a/bot/exts/info/information.py
+++ b/bot/exts/info/information.py
@@ -77,7 +77,7 @@ class Information(Cog):
channel_type_list = sorted(channel_type_list)
return "\n".join(channel_type_list)
- @has_any_role(*constants.MODERATION_ROLES)
+ @has_any_role(*constants.STAFF_ROLES)
@command(name="roles")
async def roles_info(self, ctx: Context) -> None:
"""Returns a list of all roles and their corresponding IDs."""
@@ -97,7 +97,7 @@ class Information(Cog):
await LinePaginator.paginate(role_list, ctx, embed, empty=False)
- @has_any_role(*constants.MODERATION_ROLES)
+ @has_any_role(*constants.STAFF_ROLES)
@command(name="role")
async def role_info(self, ctx: Context, *roles: Union[Role, str]) -> None:
"""