We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception that occurs in process_application_commands
process_application_commands
on_application_command_error
import discord bot = discord.Bot() @bot.command() async def slash_command(ctx): pass bot.run(...)
Interaction is processed correctly
Exception is raised:
Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/discord/client.py", line 382, in _run_event await coro(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/discord/bot.py", line 1058, in on_interaction if self.extra_events.get("on_application_command_error", None): File "/usr/local/lib/python3.10/site-packages/discord/bot.py", line 722, in process_application_commands guild_id == cmd.guild_ids or (isinstance(cmd.guild_ids, list) and guild_id in cmd.guild_ids) File "/usr/local/lib/python3.10/typing.py", line 2384, in __subclasscheck__ raise TypeError('TypedDict does not support instance and class checks') TypeError: TypedDict does not support instance and class checks
Irrelevant
Latest release (2.1.2)
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
Exception that occurs in
process_application_commands
Reproduction Steps
on_application_command_error
listenerMinimal Reproducible Code
Expected Results
Interaction is processed correctly
Actual Results
Exception is raised:
Intents
Irrelevant
System Information
Latest release (2.1.2)
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: