@@ -1227,7 +1227,7 @@ async def on_typing(self, channel, user, _):
12271227 thread = await self .threads .find (recipient = user )
12281228
12291229 if thread :
1230- await thread .channel .trigger_typing ()
1230+ await thread .channel .typing ()
12311231 else :
12321232 if not self .config .get ("mod_typing" ):
12331233 return
@@ -1237,7 +1237,7 @@ async def on_typing(self, channel, user, _):
12371237 for user in thread .recipients :
12381238 if await self .is_blocked (user ):
12391239 continue
1240- await user .trigger_typing ()
1240+ await user .typing ()
12411241
12421242 async def handle_reaction_events (self , payload ):
12431243 user = self .get_user (payload .user_id )
@@ -1508,7 +1508,7 @@ async def on_error(self, event_method, *args, **kwargs):
15081508
15091509 async def on_command_error (self , context , exception ):
15101510 if isinstance (exception , (commands .BadArgument , commands .BadUnionArgument )):
1511- await context .trigger_typing ()
1511+ await context .typing ()
15121512 await context .send (embed = discord .Embed (color = self .error_color , description = str (exception )))
15131513 elif isinstance (exception , commands .CommandNotFound ):
15141514 logger .warning ("CommandNotFound: %s" , exception )
0 commit comments