Commit graph

126 commits

Author SHA1 Message Date
Noi
0c24c36da2
Merge pull request #10 from NoiTheCat/dev/dotnet8
Upgrade to .NET 8
2024-06-23 20:21:55 -07:00
Noi
986d9e4ff3 Implement suggestions; minor command refactoring 2024-06-08 21:08:03 -07:00
Noi
cc148d5257 Implement style suggestions 2024-06-08 21:07:35 -07:00
Noi
7668c82cf9 Switch to .NET 8
* Bump version
* Update dependencies
* Copy .editorconfig from BirthdayBot
  * Still want to properly look over it some time
* Set up dotnet-ef as project tool
2024-06-08 19:00:10 -07:00
Noi
ae9851d26f
Merge pull request #8 from NoiTheCat/features/text-processing
Rudimentary text processing for kicks, etc
2024-04-21 12:11:13 -07:00
Noi
c64dab9874
Merge branch 'main' into features/text-processing 2024-04-21 12:09:12 -07:00
Noi
e3bf767c25
Merge pull request #7 from NoiTheCat/dev/new-usernames
New username system support
2024-01-07 15:43:18 -08:00
Noi
db0a1e391c Rudimentary text processing for kicks, etc 2023-11-16 10:19:10 -08:00
Noi
0bc04a20d1
Merge pull request #6 from NoiTheCat/fixes/no-bot-updates
Prevent logging and reporting of bot messages
2023-11-16 09:12:40 -08:00
Noi
97654a6f29 Use new extension method for displaying username 2023-11-14 21:09:21 -08:00
Noi
aad54f9fa7 Recognize display names in username cache 2023-11-14 19:24:46 -08:00
Noi
a6c6ba9550 Don't send update events for messages not logged 2023-07-17 10:46:41 -07:00
Noi
ddfc2fc612 Do not log message edits from bots 2023-04-28 12:50:11 -07:00
Noi
8de34d743c
Update copyright date / contact email 2023-02-19 10:20:40 -08:00
Noi
7d18e1f498
Bump version to 3.2.0 2022-12-16 22:11:52 -08:00
Noi
6af72ea518
Merge pull request #5 from NoiTheCat/format-custom-msgs
Implement success message formatting
2022-12-16 22:11:05 -08:00
Noi
634bc26951 Implement success message formatting
Imported from `legacy` branch:
RegexBot/RegexBot/Module/AutoMod/ResponseBase.cs:161
2022-12-16 22:10:08 -08:00
Noi
495636baec
Merge pull request #4 from NoiTheCat/consolidate-config
Consolidate bot and guild configuration into one file
2022-12-16 21:58:45 -08:00
Noi
fe72cd2cdb
Merge pull request #3 from NoiTheCat/dev
v3.1.1 updates and fixes
2022-12-16 21:54:00 -08:00
Noi
6323134285 Update config schema and example 2022-12-04 17:09:41 -08:00
Noi
681e702406 Merve instance and guild configs into single file
Previous method only really made sense when plans for this bot were far
more ambitious than they are now.
2022-12-04 16:30:50 -08:00
Noi
8b5f0e83c4 oops 2022-12-03 17:35:34 -08:00
Noi
55453cf795 Bump version 2022-12-03 17:28:59 -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
a707792fe4 Add color codes to logging embeds 2022-12-03 17:18:48 -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
36c050afc8 Move message ID from context to footer 2022-12-02 20:06:51 -08:00
Noi
9d04d22a71 Nullable incoming module config 2022-10-22 17:47:23 -07:00
Noi
11ac7418c6 Fix unexpected error message on nonexistent user 2022-10-22 17:39:11 -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
0ee43d46b0
Merge pull request #2 from NoiTheCat/loading-fixes
Fixes a major issue that prevents external assemblies from loading.
And a minor improvement to certain error messages.
2022-10-13 11:49:18 -07:00
Noi
af82a5a345 Bump version, update dependencies 2022-10-13 11:44:40 -07:00
Noi
56cc7d7014 Change how rules are reported 2022-10-13 11:43:42 -07:00
Noi
8cbeb09017 Add ShowModLogs command 2022-10-05 12:40:53 -07:00
Noi
c25808716b Add command for removng timeouts 2022-09-30 21:03:45 -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
d5728ad0a1 Implement mod logging commands 2022-09-13 20:16:25 -07:00
Noi
809197984a Add note and warn response type 2022-09-13 14:58:15 -07:00
Noi
5f00e8b4b2 Fix incorrect foreign key reference
Replaces previously committed migration with a new one.
If updating the database, run these first before the migration:
```
drop table modlogs;
drop type mod_log_type;
delete from "__EFMigrationsHistory" where "migration_id" = '20220824023321_AddModLogs';
```
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
785e69773e Fix exception thrown when given valid role 2022-08-23 20:12:39 -07:00
Noi
64bea79ef7 ModLogEntry: Add composite foreign key reference 2022-08-23 19:57:04 -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