A highly configurable Discord moderation tool.
Find a file
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
.vscode Reorganized project 2022-07-20 18:55:08 -07:00
Common Add log item reporting to ModLogs module 2022-08-23 20:40:19 -07:00
Data Fix incorrect foreign key reference 2022-09-13 14:58:15 -07:00
Modules Add log item reporting to ModLogs module 2022-08-23 20:40:19 -07:00
Services Misc style and other minor changes 2022-08-25 18:40:57 -07:00
.editorconfig Change build settings, fix minor problems 2022-06-18 00:01:42 -07:00
.gitignore Change build settings, fix minor problems 2022-06-18 00:01:42 -07:00
DefaultGuildConfig.json Update default example configuration file 2022-07-28 14:08:23 -07:00
InstanceConfig.cs Misc style and other minor changes 2022-08-25 18:40:57 -07:00
License.txt Updates and changes to project files 2022-06-18 00:05:12 -07:00
ModuleLoader.cs Remove 'report' option in logging 2022-07-27 19:23:49 -07:00
ModuleLoadException.cs Reorganized project 2022-07-20 18:55:08 -07:00
Program.cs Remove 'report' option in logging 2022-07-27 19:23:49 -07:00
Readme.md Reorganized project 2022-07-20 18:55:08 -07:00
RegexBot.csproj Add initial migration 2022-07-28 14:10:35 -07:00
RegexbotClient.cs Implement SharedEventService; remove cache update event 2022-08-17 16:59:30 -07:00
RegexbotModule.cs Remove 'report' option in logging 2022-07-27 19:23:49 -07:00
RegexbotModuleAttribute.cs Reorganized project 2022-07-20 18:55:08 -07:00
ServerConfigSchema.json Update default example configuration file 2022-07-28 14:08:23 -07:00

RegexBot

ko-fi

RegexBot is a Discord moderation bot framework of sorts, inspired by the terrible state of Discord moderation tools a few years ago combined with my tendency to overengineer things until they into pseudo-libraries of their own right.

This bot includes a number of features which assist in handling the tedious details in a busy server with the goal of minimizing the occurrence of hidden details, arbitrary restrictions, or annoyingly unmodifiable behavior. Its configuration allows for a very high level of flexibility, ensuring that the bot behaves in accordance to the exact needs of your server without compromise.

Features

  • Create rules based on regular expression patterns
    • Follow up with custom responses ranging from sending a DM to disciplinary action
  • Create pattern-based triggers to provide information and fun to your users
    • Adjustable rate limits per-trigger to prevent spam
    • Specify multiple different responses to display at random when triggered
    • Make things interesting by setting triggers that only activate at random
  • Individual rules and triggers can be whitelisted or blacklisted per-user, per-channel, or per-role
    • Exemptions to these filters can be applied for additional flexibility
  • High detail logging and record-keeping prevents gaps in moderation that might occur with large public bots.

Modules

As mentioned above, this bot also serves as a framework of sorts, allowing others to write their own modules and expand the bot's feature set ever further. Its benefits are:

  • Putting together disparate bot features under a common, consistent interface.
  • Reducing duplicate code potentially leading to an inconsistent user experience.
  • Versatile JSON-based configuration.

User documentation

Coming soon?