3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-18 23:09:59 +00:00
Commit graph

14 commits

Author SHA1 Message Date
Dragory
177fc40780
Various Knub 30 and type fixes 2020-07-06 02:08:11 +03:00
Dragory
d62a4e26ae
Knub 30 conversion base work; Work on Utility plugin Knub 30 conversion 2020-07-05 05:00:54 +03:00
Miikka
7e3f9ebd11 WIP 2020-06-30 17:48:18 +03:00
Dragory
31d3e2b1d7
Another potential fix for Node.js 13/14 incompatibility 2020-05-08 18:29:17 +03:00
Dragory
0de53d1fb4
Possible fix for module error on Node.js 13 and 14 2020-05-08 03:13:30 +03:00
Dragory
89f545eb62
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
84135b201b
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
94ef7b8ee0 Update to Knub 29. Set up config types for Knub. 2020-01-12 13:37:43 +02:00
Dragory
a0881e8298 resolveRoleId: fix return type 2020-01-12 11:39:26 +02:00
Dragory
c1b7967d10 canActOn: add option to allow same level 2020-01-12 11:38:12 +02:00
roflmaoqwerty
d16a67bca3 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
26c460e67a trimPluginDescription: use first line's indentation instead 2019-12-01 15:57:17 +02:00
Dragory
ba2873a29a 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
16111bbe84 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)