Dragory
d54897acdd
Split BaseRepository into non-guild and guild
...
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
608f17c532
Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
...
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
c34532e348
Add safety net for attempts to create a duplicate case for a single kick audit log entry
2019-04-14 17:05:07 +03:00
Dragory
fe88766f02
Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time.
2019-04-13 17:35:02 +03:00
Dragory
5eeb3d2536
Add timestamps to !cases
2019-04-13 02:27:52 +03:00
Dragory
ffafc765d8
ModActions: !cases without id now returns 5 most recent cases created by you, or the mod specified with --mod
2019-02-23 22:40:43 +02:00
Dragory
147dcc973d
ModActions: add !cases cmd without user, tweak old !cases response message
2019-02-23 21:33:57 +02:00
Dragory
fa759d1f46
Allow using !update without a case number. Will update the mod's latest case instead.
2019-02-17 15:23:40 +02:00
Dragory
f6f1c29fc1
Add user id and show recent cases in 'member joined with prior records' log entry
2019-01-15 04:15:22 +02:00
Dragory
8de31844d5
Add support for hiding cases with !hidecase
2019-01-13 17:56:25 +02:00
Dragory
2e30a3b9e7
Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins.
2018-11-25 17:04:26 +02:00
Dragory
f9c16263ae
Switch from Knex to TypeORM. Update Knub.
2018-10-26 06:41:20 +03:00
Dragory
7a372533ec
Add case_id to mutes. Add !mutes command to list mutes.
2018-08-05 00:18:50 +03:00
Dragory
a0f5114f62
Add softban command. Mod action fixes and tweaks.
2018-08-02 00:51:25 +03:00
Dragory
498ebe8939
Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)
2018-07-12 02:58:34 +03:00
Dragory
e6f296381e
Rename ModActions to Cases
2018-07-12 02:53:26 +03:00