Unclear exception when command is run without first creating bot in server #2455
Closed
3 tasks done
Labels
unconfirmed bug
A bug report that needs triaging
Summary
When a client runs an application command without there being a bot in the server, Pycord crashes with an unclear exception.
Reproduction Steps
Minimal Reproducible Code
Expected Results
I expected a clear error (inheriting from
DiscordException
at least) as to why the command failed.Actual Results
A
NameError
lacking any context as to why the error occurred is shown.Full Traceback:
Intents
3243773
System Information
macOS 14.5 (Darwin 23.5.0, arm64)
Python 3.12.3
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: