3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 01:05:02 +00:00

Add !deletecase

This commit is contained in:
Dragory 2020-08-09 22:44:07 +03:00
parent 3a81864cb7
commit 4c9b5778b2
9 changed files with 146 additions and 6 deletions

View file

@ -34,6 +34,7 @@ import { kickMember } from "./functions/kickMember";
import { banUserId } from "./functions/banUserId";
import { MassmuteCmd } from "./commands/MassmuteCmd";
import { trimPluginDescription } from "../../utils";
import { DeleteCaseCmd } from "./commands/DeleteCaseCmd";
const defaultOptions = {
config: {
@ -65,6 +66,7 @@ const defaultOptions = {
can_massban: false,
can_massmute: false,
can_hidecase: false,
can_deletecase: false,
can_act_as_other: false,
},
overrides: [
@ -134,6 +136,7 @@ export const ModActionsPlugin = zeppelinPlugin<ModActionsPluginType>()("mod_acti
CasesModCmd,
HideCaseCmd,
UnhideCaseCmd,
DeleteCaseCmd,
],
public: {