Commit graph

26 commits

Author SHA1 Message Date
Noi
ebe3a403f3 Remove ulong->long casts 2022-12-03 17:46:26 -08:00
Noi
fc8826b37f Also cache bot messages 2022-12-03 17:21:42 -08:00
Noi
12f8359b90 Move member cache updating off main thread 2022-12-03 17:21:20 -08:00
Noi
6bdf528c66 Replace RemovalType with bool
In general: `RemovalType.Ban` was replaced with `true` and
`RemovalType.Kick` with `false`. `RemovalType.None` was never used.
2022-12-02 20:28:23 -08:00
Noi
9d04d22a71 Nullable incoming module config 2022-10-22 17:47:23 -07:00
Noi
d3414f7b04
Merge pull request #1 from NoiTheCat/dev (v3.1.0 fixes and additions)
Just a big mess of random changes and additions. Most notably, logging tools for moderators.
There is very little polish. That may come later.
2022-10-13 11:49:47 -07:00
Noi
c73bfabc19 Implement timeouts
With use of this feature available within ModCommands and RegexModerator
2022-09-20 21:50:33 -07:00
Noi
911ae63713 Misc fixes and edits 2022-09-20 20:39:37 -07:00
Noi
c4c13b733f Add timeout setting to CF 2022-09-16 20:42:55 -07:00
Noi
809197984a Add note and warn response type 2022-09-13 14:58:15 -07:00
Noi
dfec87672f Misc style and other minor changes 2022-08-25 18:40:57 -07:00
Noi
b03905afda Add SharedEventService
Forgot to put in b4db1fc
2022-08-25 18:40:06 -07:00
Noi
6544d4844b Add log item reporting to ModLogs module 2022-08-23 20:40:19 -07:00
Noi
7b29753290 Update entity classes
EntityList's `enforceTypes` setting was removed, as EntityName
enforced entries being unambiguous anyway.
Added a way to enforce specific types on instantiation or else
throw an exception, and updated all existing uses requiring that
check accordingly.
2022-08-22 21:14:09 -07:00
Noi
b4db1fcff8 Implement SharedEventService; remove cache update event 2022-08-17 16:59:30 -07:00
Noi
4f896e8311 Implement moderation logging to database
Further commits will implement a system to propagate these logs,
allowing modules and services to act on them regardless of their origin.
Additionally, further commits shall implement these changes within
built-in modules to allow for their immediate use.
2022-08-16 12:37:06 -07:00
Noi
a419dd2554 Separate code files between feature sets 2022-08-15 20:18:14 -07:00
Noi
a1d86355cd Improve GuildState error logging 2022-08-08 20:44:20 -07:00
Noi
e9178bc149 Improved logging and minor fixes 2022-07-28 19:33:49 -07:00
Noi
2d4ae0b4a8 Switch logging to local time 2022-07-28 14:31:36 -07:00
Noi
52d3b1b9d4 Update default example configuration file 2022-07-28 14:08:23 -07:00
Noi
8317f09b04 Fix issues when handling 'bad' message update data
See comment in MessageCachingSubservice.
2022-07-27 22:02:17 -07:00
Noi
bbe0a84532 Add logging for long-running task 2022-07-27 22:00:10 -07:00
Noi
ebdaa6482c Remove 'report' option in logging
The feature was previously meant for monitoring errors in a large public
bot instance, but is massively redundant and even annoying when using
as a self-hosted instance.
Besides, the information it did report was excessive and of little use.
2022-07-27 19:23:49 -07:00
Noi
c3ecf2a877 Update initial database model and migration 2022-07-20 20:37:31 -07:00
Noi
1149f2800d Reorganized project
Moved modules into the assembly itself to simplify development of
further features and reduce complexity in building this project.

Additionally, many small adjustments were made, including:
- Add documentation to most public methods that had it missing
- Minor style updates
- Updated readme to reflect near-completion of this rewrite
- Remove any last remaining references to old project name Kerobot
- Update dependencies
2022-07-20 18:55:08 -07:00