mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 19:17:19 +00:00
refactor: consolidate pluginInfo internal/legacy fields
This commit is contained in:
parent
8a4f7fe0e8
commit
dfdc6566cf
41 changed files with 46 additions and 51 deletions
|
@ -3,12 +3,11 @@ import { trimPluginDescription } from "../../utils.js";
|
|||
import { zSpamConfig } from "./types.js";
|
||||
|
||||
export const spamPluginInfo: ZeppelinPluginInfo = {
|
||||
showInDocs: true,
|
||||
type: "legacy",
|
||||
prettyName: "Spam protection",
|
||||
description: trimPluginDescription(`
|
||||
Basic spam detection and auto-muting.
|
||||
For more advanced spam filtering, check out the Automod plugin!
|
||||
`),
|
||||
legacy: true,
|
||||
configSchema: zSpamConfig,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue