Commit graph

266 commits

Author SHA1 Message Date
Noi
d94c98aed2 Use CommandContextType over deprecated EnabledInDm attributes 2024-04-28 19:45:51 -07:00
Noi
b3e9241235 Suppress creation of additional DLLs on build 2024-04-28 19:13:18 -07:00
Noi
2263ed2934 Add efcore as project-specific tool; update documentation 2024-04-28 19:12:34 -07:00
Noi
e6e335b5dc Implement new suggestions from framework upgrade 2024-04-28 18:15:12 -07:00
Noi
284e71724a Update style rules
Slight update, really. I should see about how necessary some of these options are some time.
2024-04-28 01:54:06 -07:00
Noi
2977ae61f1 Whitespace and style fixes 2024-04-28 01:51:58 -07:00
Noi
81da14a6a8 Bump version; update dependencies and framework 2024-04-28 01:10:08 -07:00
Noi
df09e4ab18
Merge pull request #55 from NoiTheCat/fixes/retention-errors
Fix data retention bugs causing mass deletion of birthdays
2024-04-28 00:10:12 -07:00
Noi
85bb07ed96 Fix tickCount incrementing more than once per tick 2023-12-08 20:45:40 -08:00
Noi
41def830c4 Only remove data from guilds in own shard 2023-12-08 20:44:42 -08:00
Noi
59696ee000 Bump version 2023-11-14 17:48:24 -08:00
Noi
9d32b6c8c5
Merge pull request #53 from NoiTheCat/dev/new-usernames
New username system support
2023-11-14 17:40:16 -08:00
Noi
0b3ae1ec0d Formatting fixes; add global name to export 2023-09-10 22:13:51 -07:00
Noi
46f5e1e3c6
Merge pull request #52 from NoiTheCat/dev/tweaks
Several performance tweaks
2023-09-10 21:52:36 -07:00
Noi
5aaa860205 And escape special characters from display name... 2023-09-09 10:50:38 -07:00
Noi
9baf7016a2 Use display name instead of username 2023-09-09 10:46:45 -07:00
Noi
b9b057e1f1 Remove extraneous log messages
In particular, these changes filter out the reporting of any errors
occurring during the bot shutdown process.
2023-09-04 17:41:10 -07:00
Noi
1aaca8545e Extremely minor refactoring 2023-09-04 17:41:10 -07:00
Noi
b87602f8f6 Greatly reduce frequency of stale entry removal 2023-09-04 17:40:56 -07:00
Noi
21cbadb355 Retry skipped guilds after reconnection 2023-09-04 17:40:48 -07:00
Noi
ac1b4aec32 Shorten library exception reporting 2023-09-04 17:40:35 -07:00
Noi
cee7bb4835 Manually call GC on occasion (experimental) 2023-09-04 17:40:35 -07:00
Noi
acb052bea3 Drop use of discriminator if none exists 2023-09-04 16:58:45 -07:00
Noi
22421f7517 Update Discord.Net 2023-09-04 16:35:03 -07:00
Noi
04b68655bc Remove unnecessary LongRunning setting 2023-06-19 01:47:03 -07:00
Noi
8d92841e02
Bump version 2023-06-11 18:15:54 -07:00
Noi
3ddb5d5e78
Merge pull request #50 from NoiTheCat/dev/graceful-shutdown
Better handling of program shutdown
2023-06-11 18:13:12 -07:00
Noi
c727bead98 Better handling of program shutdown
It now knows what a SIGTERM is.
Additionally, made some small tweaks to the file's structure
and removed some unnecessary details.
2023-06-11 18:10:46 -07:00
Noi
fa8bb0abd2
Merge pull request #49 from NoiTheCat/dev/more-config
Add configurable runtime settings that were previously hardcoded
2023-06-10 20:24:55 -07:00
Noi
4d1d0b4024
Merge pull request #48 from NoiTheCat/dev/export-command
Split birthday exporting to its own command
2023-06-10 20:19:48 -07:00
Noi
952188a8cf Split birthday exporting to its own command 2023-05-27 21:54:47 -07:00
Noi
0944177897 Add option to disable connection logging
Was previously disabled by default, now enabled by default.
2023-05-27 18:46:28 -07:00
Noi
b0b39bbd0b Allow configuration of certain time-based values 2023-05-27 18:07:45 -07:00
Noi
c92350861a Update dependencies, bump version 2023-05-27 17:05:37 -07:00
Noi
7c9430fb27
Merge pull request #47 from NoiTheCat/remove-preconditions
Replace preconditions with Discord permissions
2023-05-27 17:03:56 -07:00
Noi
c0b857d46e
Merge pull request #42 from NoiTheCat/docs-rewrite
Rewrite Readme; create documentation website
2023-03-09 12:35:35 -08:00
Noi
0fe65b7e66
Merge pull request #44 from NoiTheCat/fixes/userdl-hang
Fix hanging, unnecessary disconnections when AutoUserDownload is hanging
2023-03-09 12:34:30 -08:00
Noi
c893b317f0 Fix logged message's grammar; bump version 2023-03-05 23:05:37 -08:00
Noi
29f2eeb31e Skip user download in guilds where the method hangs
A workaround for an apparent bug in Discord.Net's
`SocketGuild.DownloadUsersAsync()` method.

Conclusions made while writing and testing this workaround:
* The guilds it hangs on are seemingly random.
* Guild size does not matter.
* If a download hangs, it never recovers within 2 hours, probably more.
* Trying a guild again never works. It just hangs again.
2023-03-05 22:57:09 -08:00
Noi
1fba7ff708 stopgap fixes 2023-03-04 11:27:31 -08:00
Noi
104d99856b Prevent unnecessary disconnection when user list fetch takes too long 2023-03-02 09:58:15 -08:00
Noi
18c52650b3
Update copyright date / contact email 2023-02-19 10:19:17 -08: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
1f472b9773 Add project-centric readme 2023-01-24 19:56:21 -08:00
Noi
088a465443 Update documentation site text
Similar format to World Time's page
2023-01-24 19:42:57 -08:00
Noi
20c84eb713 First commit; Jekyll-based documentation page 2023-01-23 20:26:23 -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
304e802c35
Merge pull request #40 from NoiTheCat/fixes/confcheck-error
Remove announcement message in /config check (fixes #29)
2023-01-16 21:58:31 -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