nyxx-discord / nyxx_commands

A framework for easily creating slash commands and text commands for Discord using the nyxx library.
Apache License 2.0
13 stars 5 forks source link

Errors from the event manager are not handled correctly #128

Closed abitofevrything closed 1 year ago

abitofevrything commented 1 year ago

Describe the bug Errors thrown in the event manager should be added to onCommandError, but instead they are thrown as uncaught async errors.

To Reproduce Try to use a nonexistent text command and cause a CommandNotFoundException

Expected behavior The errors should be handled.

Desktop (please complete the following information):