mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
WIP
This commit is contained in:
parent
a0fa21f0f5
commit
7e3f9ebd11
40 changed files with 118 additions and 119 deletions
|
@ -1,4 +1,4 @@
|
|||
import { trimPluginDescription, ZeppelinPlugin } from "../ZeppelinPlugin";
|
||||
import { trimPluginDescription, ZeppelinPluginClass } from "../ZeppelinPluginClass";
|
||||
import * as t from "io-ts";
|
||||
import {
|
||||
convertDelayStringToMS,
|
||||
|
@ -209,7 +209,7 @@ const RAID_SPAM_IDENTIFIER = "raid";
|
|||
* call addRecentAction() directly. These are then checked by matchRuleToMessage() and matchOtherSpamInRule() to detect
|
||||
* spam.
|
||||
*/
|
||||
export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverrides> {
|
||||
export class AutomodPlugin extends ZeppelinPluginClass<TConfigSchema, ICustomOverrides> {
|
||||
public static pluginName = "automod";
|
||||
public static configSchema = ConfigSchema;
|
||||
public static dependencies = ["mod_actions", "mutes", "logs"];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PluginInfo, trimPluginDescription } from "../ZeppelinPlugin";
|
||||
import { PluginInfo, trimPluginDescription } from "../ZeppelinPluginClass";
|
||||
|
||||
export const pluginInfo: PluginInfo = {
|
||||
prettyName: "Automod",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue