#Bot dumps information in chat when an exception occurs

1 messages · Page 1 of 1 (latest)

vital viper
#

How do I stop it from doing this? It literally exposes filepaths with no confirmation or warning.

#

To be clear, the image is just an example of it doing this. That specific error is just an example and I'm not asking for help with that.

wooden ridge
#

set UseDefaultCommandErrorHandler to false in the Commands config

#

additionally you can write your own handler using the CommandErrored event