Games-Gamers / FamBot

FAM
3 stars 0 forks source link

added functionality for logging error messages to an error channel #32

Closed mulchbutler closed 2 years ago

mulchbutler commented 2 years ago

I removed the error logging in the WhoIsFam command and put it in the generic command error handler.
So now all exceptions that get thrown should get logged in the channel.

This requires a new .env value

In your .env, add ERROR_CHANNEL=571507701935374344 or something. That's the channel id for #modlog, we we can pick others if we want.