From 863ef3d773dc0761cba9ba5672676639f53d123c Mon Sep 17 00:00:00 2001 From: seeyebe <85168740+seeyebe@users.noreply.github.com> Date: Tue, 8 Jul 2025 06:59:28 +0300 Subject: [PATCH] Update CaseMsgCmd.ts --- .../src/plugins/ModActions/commands/case/CaseMsgCmd.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backend/src/plugins/ModActions/commands/case/CaseMsgCmd.ts b/backend/src/plugins/ModActions/commands/case/CaseMsgCmd.ts index 211e529f..681a997e 100644 --- a/backend/src/plugins/ModActions/commands/case/CaseMsgCmd.ts +++ b/backend/src/plugins/ModActions/commands/case/CaseMsgCmd.ts @@ -2,10 +2,6 @@ import { commandTypeHelpers as ct } from "../../../../commandTypes.js"; import { modActionsMsgCmd } from "../../types.js"; import { actualCaseCmd } from "./actualCaseCmd.js"; -const opts = { - show: ct.switchOption({ def: false, shortcut: "sh" }), -}; - export const CaseMsgCmd = modActionsMsgCmd({ trigger: "case", permission: "can_view", @@ -14,12 +10,10 @@ export const CaseMsgCmd = modActionsMsgCmd({ signature: [ { caseNumber: ct.number(), - - ...opts, }, ], async run({ pluginData, message: msg, args }) { - actualCaseCmd(pluginData, msg, msg.author.id, args.caseNumber, args.show); + actualCaseCmd(pluginData, msg, msg.author.id, args.caseNumber); }, });