diff options
| author | 2021-08-24 16:04:24 +0100 | |
|---|---|---|
| committer | 2021-08-24 16:41:47 +0100 | |
| commit | 675b96153bec329c9c18744536e1c0f06210497a (patch) | |
| tree | 26bb2329dbbda3639d02c05547d6c41a2ccd4ff2 | |
| parent | Allow partners & members of the python community to use commands in any channel (diff) | |
Allow partners & members of the python community to use `!role` and `!roles`
| -rw-r--r-- | bot/exts/info/information.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index 67677a8ad..f13567d02 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -94,7 +94,7 @@ class Information(Cog):              {python_general.mention} cooldown: {python_general.slowmode_delay}s          """) -    @has_any_role(*constants.STAFF_ROLES) +    @has_any_role(*constants.STAFF_PARTNERS_COMMUNITY_ROLES)      @command(name="roles")      async def roles_info(self, ctx: Context) -> None:          """Returns a list of all roles and their corresponding IDs.""" @@ -114,7 +114,7 @@ class Information(Cog):          await LinePaginator.paginate(role_list, ctx, embed, empty=False) -    @has_any_role(*constants.STAFF_ROLES) +    @has_any_role(*constants.STAFF_PARTNERS_COMMUNITY_ROLES)      @command(name="role")      async def role_info(self, ctx: Context, *roles: Union[Role, str]) -> None:          """ | 
