You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the errors listed in ``ErrorHandling.py` are never thrown for their respective issues. At least, I've not been able to invoke them when using roles that do not exist or stuff like that.
The text was updated successfully, but these errors were encountered:
Currently have implemented a fix for this. I decided to handle more of the common errors inside of the function call with a try: except: approach. I feel as if this will help to give the user more accurate feedback for their specific misstep when using the bot. I kept more broad errors inside of the error handling .py in case something else goes awry such as trying to call a command that does not exist. Let me know what you think about this approach and I will close the issue if this sounds good.
Hmm... I'm inclined to say yes, but I'd need a better idea of what you're thinking of for this. They definitely should only include the specific line(s) relevant to the error though.
It appears the errors listed in ``ErrorHandling.py` are never thrown for their respective issues. At least, I've not been able to invoke them when using roles that do not exist or stuff like that.
The text was updated successfully, but these errors were encountered: