Commit graph

234 commits

Author SHA1 Message Date
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
85b23e255c Merge branch 'slashcommands' 2022-03-11 10:33:26 -08:00
Noi
27c7cbd234 Merge branch 'main' into slashcommands 2022-03-11 10:33:04 -08:00
Noi
adc6006175 Add announce message check; update output
Oops, I thought I pushed this a long time ago... pushing now to avoid complications
2022-03-10 21:10:13 -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
Noi
7abe03b70d Move Data extensions to a more suitable area 2022-02-24 20:26:30 -08:00
Noi
a01b1113f9 Add birthday querying commands 2022-02-24 18:02:20 -08:00
Noi
4fc2d901f4
Merge pull request #17 from NoiTheCat/NoiTheCat-patch-1
Fix incorrect message when no recent birthdays
2022-02-23 23:10:31 -08:00
Noi
75d3bf0216
Fix incorrect message when no recent birthdays
Fixes #16
2022-02-23 23:07:51 -08:00
Noi
edec3134be Add birthday setting commands 2022-02-23 20:55:04 -08:00
Noi
b1af7922af Begin switch to Interaction Framework 2022-02-23 15:18:48 -08:00
Noi
74f876c4af Implemented more commands 2022-02-21 11:57:17 -08:00
Noi
1bf87f8827 Update packages, set new version number in advance 2022-02-14 21:30:22 -08:00
Noi
2c9920d87f Fix registration not working in release 2022-02-08 14:55:27 -08:00
Noi
5c6e0777f5 Move some strings into base class 2022-02-08 14:54:32 -08:00
Noi
80348f91ea Didn't I remove this? 2022-02-07 21:21:10 -08:00
Noi
42399e423c Add certain command overrides, matching existing options available via text commands 2022-02-03 21:49:19 -08:00
Noi
d27663a20a Add currently completed commands 2022-02-01 21:03:16 -08:00
Noi
b0c5ea4e3b Update command reporting format 2022-02-01 20:01:33 -08:00
Noi
f8b3f429bb Begin implementing slash commands
Set up a structure not unlike what exists for text commands in order to neatly separate subsets of commands/features into their own files.

Changed references for existing commands to "text commands" where it made sense to do so.
2022-01-30 22:26:33 -08:00
Noi
ffdb1cd0e6 Rename UserInterface to TextCommands 2022-01-30 19:53:02 -08:00
Noi
b1edcb6fd1 Add announce message check; update check output 2022-01-09 19:11:51 -08:00
Noi
4325fdacf2 Update dependencies
Minor changes to account for dependency additions
2022-01-04 15:06:25 -08:00
Noi
56db1a6f9d Update Readme 2021-12-06 20:15:35 -08:00
Noi
578f2545f2 Various changes
-Remove webhook logging references
--Including config line. Idea is abandoned for now.
-Remove unneeded comments
-Remove diagnostic messages
--Corresponding problems were solved by moving to dedicated hardware
-Update style on all affected files
2021-12-05 18:58:10 -08:00
Noi
3741222c68 Improve performance by placing updates in transaction 2021-12-05 18:29:27 -08:00
Noi
51e241aca8 Restore "most users downloaded" checks
Workaround to deal with continued instances of inconsistent Discord.Net user downloading behavior
2021-12-05 18:25:02 -08:00
Noi
5e4d030467 Rework member cache downloading
Fill it quicker when immediately needed, removing the need for a request list and all relating to it in the corresponding background service.

Additionally, updated usings, style, nullables in all affected files.
2021-11-22 13:40:08 -08:00
Noi
488ebfa163 Update style, add nullable 2021-11-22 13:32:30 -08:00
Noi
f8350fed53 Increase threshold, no longer stagger DataRetention
This staggering was most likely the cause of a major amount of data lost recently, in which certain guilds never had their values updated.
The staggering was meant to attempt to reduce load on a server with limited capabilities, and testing shows that it runs on more capable hardware without this issue when run this way.
2021-11-22 11:49:55 -08:00
Noi
67f78e068e Edit logging message filters
Additionally, remove unneeded usings and update style and nullable in affected files
2021-11-21 13:21:42 -08:00
Noi
9509f38d28 Edit project properties, add global usings
Remaining files will be cleaned up over time
2021-11-21 12:55:49 -08:00
Noi
800bba2193 Add more information to check command
Additionally, fix up null checks in affected files
2021-10-24 18:15:46 -07:00
Noi
16ac294fe3 Several improvements for program loading
-Add command line options for shards
-Set consistent exit codes
-Turn on nullable option and edit code further to conform and reduce warnings
-Update libraries
2021-10-22 17:55:30 -07:00
Noi
0c56a0859a Replace test with check command
Removes some messy code as a result of the old feature's removal.
Additionally, updated code style in ManagerCommands and fixed several nullable issues.
2021-10-22 15:41:36 -07:00
Noi
f4c7837759 Reorganize, reduce redundant code 2021-10-18 17:26:10 -07:00
Noi
ca0dd74bae Move bot uptime property from Common to Program
Additionally, update code style in Common
2021-10-18 16:58:22 -07:00
Noi
160152a0b4 Update style for data classes 2021-10-18 16:14:46 -07:00
Noi
fdffa5425c Set up useful exit codes
Additionally, updated style on affected files and cleaned up certain parts of the code in each.
2021-10-18 00:26:25 -07:00
Noi
6f34fbe657 Modified all background services
-Removed a number of diagnostic messages
-Removed ConnectionStatus, connection scores, etc.
-Modified work intervals for certain background tasks
-Updated code style
2021-10-14 18:55:04 -07:00
Noi
8cff530a7c Remove semaphore in SelectiveAutoUserDownload
Also updated style for this file.
Additionally, reworded the corresponding error message to something friendlier.
2021-10-13 21:36:00 -07:00
Noi
bef22a5548 Add config for new code style
Refactoring with this new style will gradually be applied.
2021-10-13 20:40:06 -07:00