Commit graph

259 commits

Author SHA1 Message Date
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
Noi
61126eb84e Explicit config path in args 2023-01-16 21:28:05 -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
c20893bfc9
Merge pull request #39 from NoiTheCat/dependabot/nuget/Newtonsoft.Json-13.0.2
Bump Newtonsoft.Json from 13.0.1 to 13.0.2
2022-12-18 21:08:12 -08:00
Noi
c9aeb5962e Merge branch 'main' into remove-access-limits 2022-12-17 13:28:01 -08:00
dependabot[bot]
35f5c8efb0
Bump Newtonsoft.Json from 13.0.1 to 13.0.2
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 14:57:57 +00:00
Noi
9cb2e3250f Fix instances not starting if first shard is not 0 2022-11-23 00:23:19 -08:00