rickstaa / warnings-discord-bot

A Go-based Discord bot that monitors chat messages for specified keywords and conditions, issuing automated warnings to maintain a respectful and safe chat environment
MIT License
1 stars 0 forks source link

fix: fix no roles condition #11

Closed rickstaa closed 11 months ago

rickstaa commented 11 months ago

This pull request ensures a warning message is thrown when both the required_roles and excluded_roles config variables are empty. This functionality has been broken since https://github.com/rickstaa/warnings-discord-bot/pull/9.