[BUG]: USER Issue causing bug #3354
Labels
code improvement
feature request
priority: low
Something that's not on top of the list. You are free to submit a pull request though
Bot Version
4.1.0
How are you hosting Modmail?
PM2
Error Logs
Check additional info
Screenshots
No response
Additional Information
If you delete the main_category_id on discord side without updating it in the config command it will cause the bot to throw this error when trying to set "perms add level (LEVEL) Role"
Very simple fix just add a check before trying to update perms in the event the user is an idiot like me :D
I know nothing about this project otherwise I'd just make a PR plus I'm awful at python.
The text was updated successfully, but these errors were encountered: