Commit graph

15 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
d99919e841 Fix incorrect summary field on parameter 2022-09-03 18:13:35 -07:00
Noi
18de4e3b70 Fix incorrect config command reference 2022-05-25 09:09:54 -07:00
Noi
c98b99cd62 Fix error when using check in an unconfigured guild 2022-03-30 14:42:34 -07:00
Noi
aebc63358d Check against configuring 'everyone' role 2022-03-30 13:35:56 -07:00
Noi
a8d0b4689a Use count instead of enumeration 2022-03-23 11:09:05 -07:00
Noi
97450482d9 Switch announce message setting to EF 2022-03-20 14:10:43 -07:00
Noi
39b8436741 Merge remote-tracking branch 'origin/main' into dev/database-revamp 2022-03-20 14:01:55 -07:00
Noi
b1b7c60211 Update commands to use EF queries 2022-03-20 01:07:17 -07:00
Noi
c8d6a87966 Use a modal to configure announcement messages
In addition, wrote a new static class just for receiving ModalSubmitted events in case any more modals may be handled in the future
2022-03-13 21:24:17 -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
Noi
10a88e37d0 Improve application command logging 2022-03-10 20:50:13 -08:00
Noi
59820bced1 Add blocking commands 2022-03-10 17:11:43 -08:00
Noi
ccb56ed243 Reorganize help strings 2022-03-10 15:37:34 -08:00
Noi
a58cedad88 Implement config commands 2022-03-10 14:09:15 -08:00