Dragory
1681a45069
More documentation work
2019-08-22 02:58:32 +03:00
Dragory
ee6d622941
Auto-generate plugin docs (WIP)
2019-08-22 01:22:26 +03:00
Dragory
3e0498f96b
Typing fixes; show last reload time in !about
2019-07-22 00:09:45 +03:00
Dragory
74c78f51ce
Add io-ts config schemas to all guild plugins
2019-07-21 21:15:52 +03:00
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
b8e0f26bf0
Fix missing pings/mentions in logs
2019-05-03 08:08:21 +03:00
Dragory
78790627ad
spam: fix failing auto-mute + invalid logs
...
Was caused by outdated way of fetching guild members on demand.
2019-05-02 08:14:17 +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
88ed1d9313
Fix spam detection crash if a spam message is deleted before the spam filter applies
2019-04-19 12:26:17 +03:00
Dragory
f3e6c05c67
Work on better error messages for mod actions, allow muting users that are not on the server; WIP
2019-04-18 08:45:51 +03:00
Dragory
3643c319d4
Fix error when parsing a spam plugin mute time that is of type number
2019-04-14 20:12:00 +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
50f5792bc5
Update to Knub 19.1.1 and update plugins accordingly
2019-04-13 01:44:18 +03:00
Dragory
cdd977c131
Cleanup
2019-03-16 11:42:28 +02:00
Dragory
374e79e2dc
Include durations in mute and unmute case notes, clarify bot responses when updating an active mute
2019-03-07 22:35:33 +02:00
Dragory
b7b42705f9
Add types for all plugin configs and permissions. Update code to work with Knub 18.
2019-03-04 21:44:04 +02:00
Dragory
207f5b3b95
Spam: max_voice_move -> max_voice_moves, add to default mod override as well
2019-02-17 17:23:10 +02:00
Dragory
30db4d58b4
spam: add support for non-message spam; add max_voice_move spam detection
2019-02-17 17:09:49 +02:00
Dragory
4cdfa15613
Spam: add max characters filter
2019-02-09 13:23:21 +02:00
Dragory
429653c66d
Add GuildArchives.getUrl for getting the archive entry URL
2019-01-15 04:03:04 +02:00
Miikka
9248e61e86
spam: fix an instance of max_emoji -> max_emojis
2019-01-09 10:36:49 +02:00
Dragory
b0cd8762f1
Update to Knub 14.0.0 and make changes to plugins accordingly
2019-01-03 06:15:28 +02:00
Dragory
ce0b7ded08
Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted
2018-12-22 13:06:40 +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
2bce771c59
Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans.
2018-11-24 18:39:17 +02:00
Dragory
1a6e680d81
Port Censor and Spam plugins to use GuildSavedMessages events
2018-11-24 17:12:36 +02:00
Dragory
f9c16263ae
Switch from Knex to TypeORM. Update Knub.
2018-10-26 06:41:20 +03:00
Dragory
e3ff4cef45
Rename SpamLogs to Archives. Tweak spam archive format.
2018-08-18 19:51:51 +03:00
Dragory
c9db802638
Improve spam detection in laggy circumstances
2018-08-18 19:21:39 +03:00
Dragory
7a372533ec
Add case_id to mutes. Add !mutes command to list mutes.
2018-08-05 00:18:50 +03:00
Dragory
aee14eac10
Merge branch 'master' of github.com:Dragory/ZeppelinBot
2018-08-03 19:12:21 +03:00
Miikka
01a1f4cbe3
fix(spam): recent actions being considered from all users, not just the author of the message being evaluated
2018-08-03 11:23:08 +03:00
Dragory
b3492090b8
Add default mod override for Spam plugin
2018-08-02 22:22:51 +03:00
Dragory
96a9a189e0
fix(spam): mute time being treated as seconds instead of minutes
2018-08-02 17:53:50 +03:00
Dragory
3e7aff5b1f
Spam config: muteTime -> mute_time
2018-08-02 00:51:04 +03:00
Dragory
ef61eae2ec
Add log url to automatic spam mute cases
2018-08-01 20:21:55 +03:00
Dragory
16be52a5e7
feat: save deleted spam logs; server spam logs from a web server; update Knub to 9.6.4
2018-08-01 20:09:51 +03:00
Dragory
847ee11195
fix(spam): count duplicate mentions; only clean offending messages
2018-08-01 19:13:32 +03:00
Dragory
7ded84b924
Add spam plugin. Add clean commands. Update Knub to 9.6.0.
2018-07-31 02:42:45 +03:00