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

WIP: Note Slash Command

This commit is contained in:
Lily Bergonzat 2024-01-22 17:21:05 +01:00
parent 91339bb01e
commit dfb0e2c19d
29 changed files with 319 additions and 178 deletions

View file

@ -1,8 +1,8 @@
import { commandTypeHelpers as ct } from "../../../commandTypes";
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
import { modActionsCmd } from "../types";
import { modActionsMsgCmd } from "../types";
export const HideCaseCmd = modActionsCmd({
export const HideCaseCmd = modActionsMsgCmd({
trigger: ["hide", "hidecase", "hide_case"],
permission: "can_hidecase",
description: "Hide the specified case so it doesn't appear in !cases or !info",