Commit graph

4 commits

Author SHA1 Message Date
Noi
e265cafd25 Fix incorrect value checked for determining moderator
The public instance will be updated with this fix immediately.
This fixes cases in which those with moderator roles are unable
to use mod-only commands as intended.
It also fixes a dangerous bug in which users with the birthday role
assigned to them have unrestricted access to moderator commands.
2022-10-10 14:27:54 -07:00
Noi
65fbdacf58 Have precondition queries be more explicit 2022-03-20 12:40:33 -07:00
Noi
67decd6fb4 Update preconditions to use EF queries 2022-03-19 21:09:42 -07:00
Noi
d700cd8ce9 Implement block check within a precondition
With more preconditions in use, command logging has been modified to also be better able to respond to users in the event of an error. As a result, the bot is now able to respond to users and notify them properly if they fail any preconditions.
2022-03-11 22:11:18 -08:00