Skip to content
New issue

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

say: on_command_error listener doesn't accept unhandled_by_cog argument #175

Open
synrg opened this issue Jul 17, 2021 · 0 comments
Open

Comments

@synrg
Copy link

synrg commented Jul 17, 2021

I discovered that when another cog (tags) dispatches a command_error, the say cog receives it and throws these lines of traceback:

Ignoring exception in on_command_error
Traceback (most recent call last):
  File "/home/synrg/.local/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
TypeError: on_command_error() got an unexpected keyword argument 'unhandled_by_cog'

I talked to @phenom4n4n about this and they have an idea for a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant