Fix tests from failing

This commit is contained in:
Rapptz 2022-04-14 06:46:33 -04:00
parent bc07a02f68
commit e541be0427

View File

@ -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