mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-22 17:25:01 +00:00
Improve error handling with mutes
This commit is contained in:
parent
17b4c3dc84
commit
64137bb4fa
4 changed files with 61 additions and 18 deletions
|
@ -9,6 +9,7 @@ import { onMessageCreate } from "./util/onMessageCreate";
|
|||
import { clearOldRecentActions } from "./util/clearOldRecentActions";
|
||||
import { SpamVoiceJoinEvt, SpamVoiceSwitchEvt } from "./events/SpamVoiceEvt";
|
||||
import { trimPluginDescription } from "../../utils";
|
||||
import { LogsPlugin } from "../Logs/LogsPlugin";
|
||||
|
||||
const defaultOptions: PluginOptions<SpamPluginType> = {
|
||||
config: {
|
||||
|
@ -51,6 +52,8 @@ export const SpamPlugin = zeppelinPlugin<SpamPluginType>()("spam", {
|
|||
`),
|
||||
},
|
||||
|
||||
dependencies: [LogsPlugin],
|
||||
|
||||
configSchema: ConfigSchema,
|
||||
defaultOptions,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue