mikeyaworski / Utility-Discord-Bot

A Discord utility bot
7 stars 33 forks source link

Catch generic errors properly on reaction roles command #10

Closed mikeyaworski closed 3 years ago

mikeyaworski commented 3 years ago

For example, there is an error from the Discord API when you have more than 20 reactions on a single message. Instead of manually catching every error, handle this generically by adding the error message text to the "Something is wrong..." reply. Still handle this 20 reactions error manually as a separate condition, but add some error message text to the generic error response as well.