Commit graph

209 commits

Author SHA1 Message Date
Noi
9cb2e3250f Fix instances not starting if first shard is not 0 2022-11-23 00:23:19 -08:00
Noi
febfd27ece
Merge pull request #38 from NoiTheCat/cleanup
Code cleanup

Removes various unneeded things from code and rewrites the shard status display.
2022-11-22 23:42:27 -08:00
Noi
4f22d4b991 Merge branch 'main' into cleanup 2022-11-22 23:40:48 -08:00
Noi
c0b94dc614
Merge pull request #37 from NoiTheCat/sql-pool-experimenting
* Update to Entity Framework Core 7
* Switch to bulk updates/removals in DataRetention
* Remove connection pool configuration settings (including limits)
* Greatly reduce number of open connections existing at one time
2022-11-22 23:32:39 -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
2c920e9794 Upgrade EFCore, switch to bulk operations 2022-11-21 21:20:48 -08:00
Noi
fbd7305818 Revert, unset pool configuration changes 2022-11-21 20:38:06 -08:00
Noi
f4d5bfecd0 Reduce shard health report complexity
A lot of these things were designed with the thought in mind that
there used to be many, many issues when running the bot on a large
number of servers. The reason for these bugs turned out to be simple:
the hardware was not fast enough to keep up with everything.

This extra reporting and these extra behaviors have not been
necessary for some time, and it is best to remove them.
2022-11-21 19:32:46 -08:00
Noi
e62a89d0a0 Use background service semaphore
Must have missed it the first time...
2022-11-21 19:17:07 -08:00
Noi
a9853021f4 Edit SQL pool config, usage 2022-11-21 10:45:46 -08:00
Noi
236c34b810
Actually bump version 2022-10-10 14:42:33 -07:00
Noi
db6c811169
Bump version, update references 2022-10-10 14:42:12 -07:00
Noi
8f451765d9
Merge pull request #30 from NoiTheCat/fixmodrole
Fix incorrect value checked for determining moderator
2022-10-10 14:40:41 -07: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
21785acfb1
Merge pull request #28 from NoiTheCat/fixvanishingtz
Fix time zone unset when updating birthday (#26)
2022-09-20 15:23:08 -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
a725ecca87 Remove unneeded files 2022-08-31 20:25:22 -07:00
Noi
3729474525 Update dependencies, bump version 2022-08-31 20:08:51 -07:00
Noi
e0d68b01b9
Remove text-based commands 2022-08-30 18:38:22 -07:00
Noi
b9604dadfe Remove text-based commands 2022-08-29 12:22:42 -07:00
Noi
619c7a8f7f
Merge pull request #23 from NoiTheCat/dev
Various updates
2022-08-09 19:06:30 -07:00
Noi
f59dbc0e19 Add warning for deprecated commands 2022-08-09 18:57:14 -07:00
Noi
cf2ec97baf Update dependencies; bump version number 2022-08-09 18:55:19 -07:00
Noi
a1302fb594 Switch logging to local time 2022-08-09 18:52:51 -07:00
Noi
261d54197d Load database config on initialization
Adapted from RegexBot.
This allows `dotnet ef` tools to make use of actual SQL credentials
rather than dummy ones.
2022-08-09 17:37:29 -07:00
Noi
92be9ca073 Sanity checking to command registration 2022-08-09 17:18:25 -07:00
Noi
31d5513c9e Reduce concurrent database operations in background services 2022-08-09 17:05:19 -07:00
Noi
1bc241577a Switch to VSCode project 2022-07-17 11:19:27 -07:00
Noi
d7bb8d5205 Cut down on log message spam 2022-07-17 11:18:28 -07:00
Noi
18de4e3b70 Fix incorrect config command reference 2022-05-25 09:09:54 -07:00
Noi
195b06ab85 Update version, dependencies 2022-05-25 08:53:05 -07:00
Noi
eb58d1473a Import updated code style from other project 2022-05-25 08:52:51 -07:00
Noi
f8251a3b71 Fix override remove not acting on correct data 2022-05-25 08:43:38 -07:00
Noi
996540b08e Upgrade packages, downgrade Discord.Net to 3.5.0
Downgrade is due to a bug that prevents non-admin access to all slash commands by default
2022-05-15 21:13:43 -07:00
Noi
0079e8040c
Update version number 2022-04-21 18:45:07 -07:00
Noi
2ae4d71e8b
Merge pull request #22 from NoiTheCat/dev/fixes
Various fixes
2022-04-21 18:41:42 -07:00
Noi
400cc4bfbd Remove rate limit auto-retry 2022-03-30 21:51:44 -07:00
Noi
7ee4ff7ad1 Update log message filtering 2022-03-30 21:50:58 -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
586c11d540
Merge pull request #21 from NoiTheCat/dev/tweaks
Various tweaks and additions
2022-03-23 12:23:58 -07:00
Noi
9200a8409d Bump up version number, update dependencies 2022-03-23 12:02:08 -07:00
Noi
5ef7505a94 Add time zone to export, implements #4 2022-03-23 11:55:14 -07:00
Noi
36526e07fc Update Readme to refer to new commands 2022-03-23 11:39:44 -07:00