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

9 commits

Author SHA1 Message Date
Dragory
ad0caa39ab Allow overriding user notification method for mod actions via -notify and -notify-channel. Allow setting these settings for automod actions as well. 2020-01-29 02:44:11 +02:00
Dragory
c0c919a5ce Add anti-raid levels to automod. Large refactor of spam detection. Add member_join and member_join_spam triggers.
Anti-raid levels don't by themselves do anything, but they can be
used in overrides to activate specific automod items.

Spam detection should now be more reliable and also combine further
spam messages after the initial detection into the archive.

Messages deleted by automod no longer create the normal deletion log
entry. Instead, the AUTOMOD_ACTION log entry contains the deleted
message or an archive if there are multiple (i.e. spam).
2020-01-26 19:54:32 +02:00
Dragory
4329736716 Update to Knub 29. Set up config types for Knub. 2020-01-12 13:37:43 +02:00
Dragory
1959af5e1b resolveRoleId: fix return type 2020-01-12 11:39:26 +02:00
Dragory
ab459aaa8f canActOn: add option to allow same level 2020-01-12 11:38:12 +02:00
roflmaoqwerty
9ac5701817 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
d5277d1d9a trimPluginDescription: use first line's indentation instead 2019-12-01 15:57:17 +02:00
Dragory
c10d12ac22 Run a loose pre-check before preprocessStaticConfig
This loose pre-check checks the config schema by treating every object
as partial. This means that if a property exists, it's guaranteed to be
the correct type (e.g. object). However, there's no guarantee that all
or any properties exist.

This allows preprocessStaticConfig implementations to be much less
defensive and thus reduce boilerplate.
2019-11-28 02:34:41 +02:00
Dragory
9250c84637 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Renamed from src/plugins/ZeppelinPlugin.ts (Browse further)