Commit graph

59 commits

Author SHA1 Message Date
Noi
30ac9886d5 Use autocomplete in server tz config 2024-07-06 22:02:39 -07:00
Noi
1d1f8e2e43 Use database directly for tz popularity order 2024-07-06 21:58:41 -07:00
Noi
669579f477 Send full, not partial completions
Users accepting a partial suggestion get kicked out of the input field.
Not very good for usability. Instead, perhaps a full list will do.

More improvements needed.
2024-07-06 20:15:29 -07:00
Noi
3eed00cd52 Add autocomplete to time zone parameter 2024-07-06 19:42:36 -07:00
Noi
853e3092f0 Bug fix and debug fix 2024-04-28 19:46:23 -07:00
Noi
d94c98aed2 Use CommandContextType over deprecated EnabledInDm attributes 2024-04-28 19:45:51 -07:00
Noi
e6e335b5dc Implement new suggestions from framework upgrade 2024-04-28 18:15:12 -07:00
Noi
2977ae61f1 Whitespace and style fixes 2024-04-28 01:51:58 -07:00
Noi
0b3ae1ec0d Formatting fixes; add global name to export 2023-09-10 22:13:51 -07:00
Noi
acb052bea3 Drop use of discriminator if none exists 2023-09-04 16:58:45 -07:00
Noi
952188a8cf Split birthday exporting to its own command 2023-05-27 21:54:47 -07:00
Noi
d262191d52 Replace preconditions with Discord permissions
Removed precondition code, moderator roles, unused database values.
Slightly rearranged commands.
2023-02-03 22:55:00 -08:00
Noi
7b374833e3
Merge pull request #41 from NoiTheCat/remove-access-limits
Remove all blocking features
2023-01-21 21:55:13 -08:00
Noi
bbb640df56 Mark remaining preconditions as obsolete 2023-01-16 21:52:11 -08:00
Noi
e4f5c90aab Remove EnforceBlockingAttribute and all related logic
Users have been instructed to manually set command permissions from now on
2023-01-16 21:43:07 -08:00
Noi
e0bb38615a Remove announcement message in /config check (fixes #29)
The message can now be seen in the modal used for editing such messages,
making this extra display redundant.
2022-12-18 21:31:55 -08:00
Noi
a5f8acb303 Rewrite notice 2022-12-18 21:09:33 -08:00
Noi
841d120015 Mark blocking as obsolete, don't accept new blocks 2022-11-23 00:02:20 -08:00
Noi
4f22d4b991 Merge branch 'main' into cleanup 2022-11-22 23:40:48 -08:00
Noi
a3ac5d6ede Change data types from long to ulong 2022-11-22 23:19:37 -08:00
Noi
0f8b2339ae Fix incorrect documentation 2022-11-22 20:31:07 -08:00
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
adf9485b7a
Merge pull request #27 from NoiTheCat/fixchannelparam
Fix incorrect summary field on parameter
2022-09-20 15:23:17 -07:00
Noi
1f6772d18a Fix time zone unset when updating birthday (#26) 2022-09-16 21:48:46 -07:00
Noi
d99919e841 Fix incorrect summary field on parameter 2022-09-03 18:13:35 -07:00
Noi
854cd0626b Remove unneeded TODOs
A better logging implementation is no longer planned for now, as the
current method has proven to be sufficient so far. It may even continue
to be so for a while.
2022-08-31 21:13:41 -07:00
Noi
12fe869b26 Style updates 2022-08-31 21:09:10 -07:00
Noi
18de4e3b70 Fix incorrect config command reference 2022-05-25 09:09:54 -07:00
Noi
f8251a3b71 Fix override remove not acting on correct data 2022-05-25 08:43:38 -07:00
Noi
bc2553ffad Fix 'unknown error' when setting birthday without guild config
Instead it now gives a known error
2022-03-30 21:49:51 -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
5ef7505a94 Add time zone to export, implements #4 2022-03-23 11:55:14 -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
65fbdacf58 Have precondition queries be more explicit 2022-03-20 12:40:33 -07:00
Noi
b1b7c60211 Update commands to use EF queries 2022-03-20 01:07:17 -07:00
Noi
67decd6fb4 Update preconditions to use EF queries 2022-03-19 21:09:42 -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
228974c04f Fix incorrect description in export command 2022-03-10 19:31:47 -08:00
Noi
6c498045b3 Update precondition logic; make methods obsolete
The current way of loading database information makes things confusing and difficult to follow, particularly with retrieving guild data and its second parameter.
A much better alternative should be considered, and accessed by means of extension methods.
2022-03-10 19:30:28 -08:00
Noi
59820bced1 Add blocking commands 2022-03-10 17:11:43 -08:00
Noi
e73c05b819 Implement help command 2022-03-10 15:38:42 -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
Noi
1728285683 Add overriding commands 2022-03-09 20:36:32 -08:00
Noi
07343735a0 Add and implement preconditions 2022-02-24 20:53:08 -08:00