diff --git a/tests/test_app_commands_invoke.py b/tests/test_app_commands_invoke.py index ccb43c6b1..51fc88e9a 100644 --- a/tests/test_app_commands_invoke.py +++ b/tests/test_app_commands_invoke.py @@ -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