File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ async def register_commands(self) -> None:
189189 )
190190 self .application_commands [i ["id" ]] = cmd
191191
192- async def handle_interaction (self , interaction : Interaction ) -> None :
192+ async def process_application_commands (self , interaction : Interaction ) -> None :
193193 """|coro|
194194
195195 This function processes the commands that have been registered
@@ -328,7 +328,7 @@ async def get_application_context(
328328
329329 Returns the invocation context from the interaction.
330330
331- This is a more low-level counter-part for :meth:`.handle_interaction `
331+ This is a more low-level counter-part for :meth:`.process_application_commands `
332332 to allow users more fine grained control over the processing.
333333
334334 Parameters
@@ -376,7 +376,7 @@ async def on_connect(self):
376376 await self .register_commands ()
377377
378378 async def on_interaction (self , interaction ):
379- await self .handle_interaction (interaction )
379+ await self .process_application_commands (interaction )
380380
381381 async def on_application_command_error (self , context : InteractionContext , exception : DiscordException ) -> None :
382382 """|coro|
You can’t perform that action at this time.
0 commit comments