@@ -137,13 +137,13 @@ async def nomination_group(self, ctx: Context) -> None:
137137 await ctx .send_help (ctx .command )
138138
139139 @nomination_group .group (name = "autoreview" , aliases = ("ar" ,), invoke_without_command = True )
140- @has_any_role (* MODERATION_ROLES )
140+ @has_any_role (* MODERATION_ROLES , Roles . founders )
141141 async def nomination_autoreview_group (self , ctx : Context ) -> None :
142142 """Commands for enabling or disabling autoreview."""
143143 await ctx .send_help (ctx .command )
144144
145145 @nomination_autoreview_group .command (name = "enable" , aliases = ("on" ,))
146- @has_any_role (Roles .admins )
146+ @has_any_role (Roles .admins , Roles . founders )
147147 @commands .max_concurrency (1 )
148148 async def autoreview_enable (self , ctx : Context ) -> None :
149149 """
@@ -167,7 +167,7 @@ async def autoreview_enable(self, ctx: Context) -> None:
167167 await ctx .send (":white_check_mark: Autoreview enabled." )
168168
169169 @nomination_autoreview_group .command (name = "disable" , aliases = ("off" ,))
170- @has_any_role (Roles .admins )
170+ @has_any_role (Roles .admins , Roles . founders )
171171 @commands .max_concurrency (1 )
172172 async def autoreview_disable (self , ctx : Context ) -> None :
173173 """Disable automatic posting of reviews."""
@@ -183,7 +183,7 @@ async def autoreview_disable(self, ctx: Context) -> None:
183183 await ctx .send (":white_check_mark: Autoreview disabled." )
184184
185185 @nomination_autoreview_group .command (name = "status" )
186- @has_any_role (* MODERATION_ROLES )
186+ @has_any_role (* MODERATION_ROLES , Roles . founders )
187187 async def autoreview_status (self , ctx : Context ) -> None :
188188 """Show whether automatic posting of reviews is enabled or disabled."""
189189 if await self .autoreview_enabled ():
@@ -246,7 +246,7 @@ async def prune_talentpool(self) -> None:
246246 aliases = ("nominated" , "nominees" ),
247247 invoke_without_command = True
248248 )
249- @has_any_role (* MODERATION_ROLES )
249+ @has_any_role (* MODERATION_ROLES , Roles . founders )
250250 async def list_group (
251251 self ,
252252 ctx : Context ,
@@ -553,7 +553,7 @@ async def _nominate_user(self, ctx: Context, user: MemberOrUser, reason: str) ->
553553 await self .maybe_relay_update (user .id , thread_update )
554554
555555 @nomination_group .command (name = "history" , aliases = ("info" , "search" ))
556- @has_any_role (* MODERATION_ROLES )
556+ @has_any_role (* MODERATION_ROLES , Roles . founders )
557557 async def history_command (self , ctx : Context , user : MemberOrUser ) -> None :
558558 """Shows the specified user's nomination history."""
559559 result = await self .api .get_nominations (user .id , ordering = "-active,-inserted_at" )
@@ -577,7 +577,7 @@ async def history_command(self, ctx: Context, user: MemberOrUser) -> None:
577577 )
578578
579579 @nomination_group .command (name = "end" , aliases = ("unwatch" , "unnominate" ), root_aliases = ("unnominate" ,))
580- @has_any_role (* MODERATION_ROLES )
580+ @has_any_role (* MODERATION_ROLES , Roles . founders )
581581 async def end_nomination_command (self , ctx : Context , user : MemberOrUser , * , reason : str ) -> None :
582582 """
583583 Ends the active nomination of the specified user with the given reason.
@@ -769,7 +769,7 @@ async def _edit_nomination_reason(
769769 await self .maybe_relay_update (nomination .user_id , thread_update )
770770
771771 @nomination_edit_group .command (name = "end_reason" )
772- @has_any_role (* MODERATION_ROLES )
772+ @has_any_role (* MODERATION_ROLES , Roles . founders )
773773 async def edit_end_reason_command (self , ctx : Context , nomination_id : int , * , reason : str ) -> None :
774774 """Edits the unnominate reason for the nomination with the given `id`."""
775775 if len (reason ) > REASON_MAX_CHARS :
@@ -792,7 +792,7 @@ async def edit_end_reason_command(self, ctx: Context, nomination_id: int, *, rea
792792 await ctx .send (f":white_check_mark: Updated the nomination end reason for <@{ nomination .user_id } >." )
793793
794794 @nomination_group .command (aliases = ("gr" ,))
795- @has_any_role (* MODERATION_ROLES )
795+ @has_any_role (* MODERATION_ROLES , Roles . founders )
796796 async def get_review (self , ctx : Context , user_id : int ) -> None :
797797 """Get the user's review as a markdown file."""
798798 nominations = await self .api .get_nominations (user_id , active = True )
@@ -808,7 +808,7 @@ async def get_review(self, ctx: Context, user_id: int) -> None:
808808 await ctx .send (files = [review_file , nominations_file ])
809809
810810 @nomination_group .command (aliases = ("review" ,))
811- @has_any_role (* MODERATION_ROLES )
811+ @has_any_role (* MODERATION_ROLES , Roles . founders )
812812 async def post_review (self , ctx : Context , user_id : int ) -> None :
813813 """Post the automatic review for the user ahead of time."""
814814 nominations = await self .api .get_nominations (user_id , active = True )
0 commit comments