@@ -117,7 +117,7 @@ async def get_extended_server_info(self, ctx: Context) -> str:
117117 { python_general .mention } cooldown: { python_general .slowmode_delay } s
118118 """ )
119119
120- @has_any_role (* constants .STAFF_PARTNERS_COMMUNITY_ROLES )
120+ @has_any_role (* constants .STAFF_AND_COMMUNITY_ROLES )
121121 @command (name = "roles" )
122122 async def roles_info (self , ctx : Context ) -> None :
123123 """Returns a list of all roles and their corresponding IDs."""
@@ -137,7 +137,7 @@ async def roles_info(self, ctx: Context) -> None:
137137
138138 await LinePaginator .paginate (role_list , ctx , embed , empty = False )
139139
140- @has_any_role (* constants .STAFF_PARTNERS_COMMUNITY_ROLES )
140+ @has_any_role (* constants .STAFF_AND_COMMUNITY_ROLES )
141141 @command (name = "role" )
142142 async def role_info (self , ctx : Context , * roles : Role | str ) -> None :
143143 """
@@ -258,7 +258,7 @@ async def user_info(self, ctx: Context, user_or_message: MemberOrUser | Message
258258 return
259259
260260 # Will redirect to #bot-commands if it fails.
261- if in_whitelist_check (ctx , roles = constants .STAFF_PARTNERS_COMMUNITY_ROLES ):
261+ if in_whitelist_check (ctx , roles = constants .STAFF_AND_COMMUNITY_ROLES ):
262262 embed = await self .create_user_embed (ctx , user , passed_as_message )
263263 await ctx .send (embed = embed )
264264
@@ -562,9 +562,9 @@ def add_content(title: str, content: str) -> None:
562562
563563 await ctx .send (message )
564564
565- @cooldown_with_role_bypass (2 , 60 * 3 , BucketType .member , bypass_roles = constants .STAFF_PARTNERS_COMMUNITY_ROLES )
565+ @cooldown_with_role_bypass (2 , 60 * 3 , BucketType .member , bypass_roles = constants .STAFF_AND_COMMUNITY_ROLES )
566566 @group (invoke_without_command = True )
567- @in_whitelist (channels = (constants .Channels .bot_commands ,), roles = constants .STAFF_PARTNERS_COMMUNITY_ROLES )
567+ @in_whitelist (channels = (constants .Channels .bot_commands ,), roles = constants .STAFF_AND_COMMUNITY_ROLES )
568568 async def raw (self , ctx : Context , message : Message | None = None ) -> None :
569569 """Shows information about the raw API response."""
570570 if message is None :
0 commit comments