mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-07 16:05:01 +00:00
feat: add clean message context menu command
This commit is contained in:
parent
6689f91a6a
commit
740aa39cd5
5 changed files with 107 additions and 32 deletions
|
@ -9,6 +9,7 @@ import { MutesPlugin } from "../Mutes/MutesPlugin";
|
|||
import { UtilityPlugin } from "../Utility/UtilityPlugin";
|
||||
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
||||
import { BanCmd } from "./commands/BanUserCtxCmd";
|
||||
import { CleanCmd } from "./commands/CleanMessageCtxCmd";
|
||||
import { ModMenuCmd } from "./commands/ModMenuUserCtxCmd";
|
||||
import { MuteCmd } from "./commands/MuteUserCtxCmd";
|
||||
import { NoteCmd } from "./commands/NoteUserCtxCmd";
|
||||
|
@ -49,7 +50,7 @@ export const ContextMenuPlugin = zeppelinGuildPlugin<ContextMenuPluginType>()({
|
|||
|
||||
defaultOptions,
|
||||
|
||||
contextMenuCommands: [ModMenuCmd, NoteCmd, WarnCmd, MuteCmd, BanCmd],
|
||||
contextMenuCommands: [ModMenuCmd, NoteCmd, WarnCmd, MuteCmd, BanCmd, CleanCmd],
|
||||
|
||||
beforeLoad(pluginData) {
|
||||
const { state, guild } = pluginData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue