3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Dragory
d6ffa06e2c 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
9a206455dc 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
0619602fc9 Fix spam detection crash if a spam message is deleted before the spam filter applies 2019-04-19 12:26:17 +03:00
Dragory
4e5f87fb49 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
1f79ea7e90 Fix error when parsing a spam plugin mute time that is of type number 2019-04-14 20:12:00 +03:00
Dragory
2dd6fb22fe 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
289b425a25 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
6b5206bc11 Cleanup 2019-03-16 11:42:28 +02:00
Dragory
bf0813886e 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
1c77269643 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
02d884fd0a Spam: max_voice_move -> max_voice_moves, add to default mod override as well 2019-02-17 17:23:10 +02:00
Dragory
660a68275c spam: add support for non-message spam; add max_voice_move spam detection 2019-02-17 17:09:49 +02:00
Dragory
f4f53599bc Spam: add max characters filter 2019-02-09 13:23:21 +02:00
Dragory
0558fc7ab2 Add GuildArchives.getUrl for getting the archive entry URL 2019-01-15 04:03:04 +02:00
Miikka
d44cea3d74 spam: fix an instance of max_emoji -> max_emojis 2019-01-09 10:36:49 +02:00
Dragory
12f309d412 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +02:00
Dragory
29782bbfda 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
1020747398 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
2c561afe1a Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +02:00
Dragory
0eee5529b6 Port Censor and Spam plugins to use GuildSavedMessages events 2018-11-24 17:12:36 +02:00
Dragory
89dfeccd90 Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Dragory
97f32c5f15 Rename SpamLogs to Archives. Tweak spam archive format. 2018-08-18 19:51:51 +03:00
Dragory
ff99c1a84e Improve spam detection in laggy circumstances 2018-08-18 19:21:39 +03:00
Dragory
3991858511 Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +03:00
Dragory
9e0bbc5cc6 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2018-08-03 19:12:21 +03:00
Miikka
46ba73c6e6 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
f6f975a339 Add default mod override for Spam plugin 2018-08-02 22:22:51 +03:00
Dragory
f165c906ad fix(spam): mute time being treated as seconds instead of minutes 2018-08-02 17:53:50 +03:00
Dragory
e984fe89e5 Spam config: muteTime -> mute_time 2018-08-02 00:51:04 +03:00
Dragory
eb7efd9648 Add log url to automatic spam mute cases 2018-08-01 20:21:55 +03:00
Dragory
c479ef1ff6 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
2592de6c2b 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