mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 00:25:14 +00:00
Fix tests from failing
This commit is contained in:
@ -105,7 +105,7 @@ class MockTree(discord.app_commands.CommandTree):
|
||||
return await super().call(interaction)
|
||||
|
||||
async def on_error(
|
||||
self, interaction: discord.Interaction, command: Any, error: discord.app_commands.AppCommandError
|
||||
self, interaction: discord.Interaction, error: discord.app_commands.AppCommandError
|
||||
) -> None:
|
||||
self.last_exception = error
|
||||
|
||||
|
Reference in New Issue
Block a user