@@ -91,10 +91,10 @@ def _build_topic_embed(channel_id: int, previous_topic: None | str) -> discord.E
9191
9292 @staticmethod
9393 def _predicate (
94- command_invoker : Union [discord .User , discord .Member ],
95- message : discord .Message ,
96- reaction : discord .Reaction ,
97- user : discord .User
94+ command_invoker : Union [discord .User , discord .Member ],
95+ message : discord .Message ,
96+ reaction : discord .Reaction ,
97+ user : discord .User
9898 ) -> bool :
9999 user_is_moderator = any (role .id in MODERATION_ROLES for role in getattr (user , "roles" , []))
100100 user_is_invoker = user .id == command_invoker .id
@@ -107,9 +107,9 @@ def _predicate(
107107 return is_right_reaction
108108
109109 async def _listen_for_refresh (
110- self ,
111- command_invoker : Union [discord .User , discord .Member ],
112- message : discord .Message
110+ self ,
111+ command_invoker : Union [discord .User , discord .Member ],
112+ message : discord .Message
113113 ) -> None :
114114 await message .add_reaction ("🔄" )
115115 while True :
@@ -135,7 +135,7 @@ async def _listen_for_refresh(
135135 await message .remove_reaction (reaction , user )
136136
137137 @commands .command ()
138- @commands .cooldown (1 , 60 * 2 , commands .BucketType .channel )
138+ @commands .cooldown (1 , 60 * 2 , commands .BucketType .channel )
139139 @whitelist_override (channels = ALL_ALLOWED_CHANNELS )
140140 async def topic (self , ctx : commands .Context ) -> None :
141141 """
0 commit comments