3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-06 02:27:19 +00:00

Merge pull request #544 from seeyebe/fix/unhide-case

fix: unhide case
This commit is contained in:
Miikka 2025-06-25 22:24:07 +03:00 committed by GitHub
commit 3e18e6c124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
import { commandTypeHelpers as ct } from "../../../../commandTypes.js"; import { commandTypeHelpers as ct } from "../../../../commandTypes.js";
import { modActionsMsgCmd } from "../../types.js"; import { modActionsMsgCmd } from "../../types.js";
import { actualHideCaseCmd } from "../hidecase/actualHideCaseCmd.js"; import { actualUnhideCaseCmd } from "./actualUnhideCaseCmd.js";
export const UnhideCaseMsgCmd = modActionsMsgCmd({ export const UnhideCaseMsgCmd = modActionsMsgCmd({
trigger: ["unhide", "unhidecase", "unhide_case"], trigger: ["unhide", "unhidecase", "unhide_case"],
@ -14,6 +14,6 @@ export const UnhideCaseMsgCmd = modActionsMsgCmd({
], ],
async run({ pluginData, message: msg, args }) { async run({ pluginData, message: msg, args }) {
actualHideCaseCmd(pluginData, msg, args.caseNum); actualUnhideCaseCmd(pluginData, msg, args.caseNum);
}, },
}); });