BulletBot
BulletBot copied to clipboard
Closed DMs makes moderation commands throw errors
Describe the bug When you try to use a moderation command on someone that has closed DMs the bot errors because it can't send a DM to that user.
To Reproduce Steps to reproduce the behavior:
- Find a user with closed DMs
- Try to ban/mute/warn/etc. him
Expected behavior The bot should throw any errors but just not send a dm
Setup (please complete the following information):
- Release Version 1.2.8
Solution This can probably be fixed by a simple try-catch
This was fixed with this commit Looks like only for ban command though
yeah. I'll change the issue so it includes all moderation commands as those can still throw errors