mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Fix tests from failing
This commit is contained in:
parent
bc07a02f68
commit
e541be0427
@ -105,7 +105,7 @@ class MockTree(discord.app_commands.CommandTree):
|
|||||||
return await super().call(interaction)
|
return await super().call(interaction)
|
||||||
|
|
||||||
async def on_error(
|
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:
|
) -> None:
|
||||||
self.last_exception = error
|
self.last_exception = error
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user