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

feat: first batch of emojis 🎉

This commit is contained in:
Lily Bergonzat 2024-02-14 09:17:11 +01:00
parent dfb0e2c19d
commit a4c4b17a14
91 changed files with 3659 additions and 2032 deletions

View file

@ -0,0 +1,17 @@
import { slashOptions } from "knub";
import { actualHideCaseCmd } from "../../functions/actualCommands/actualHideCaseCmd";
export const HideCaseSlashCmd = {
name: "hidecase",
configPermission: "can_hidecase",
description: "Hide the specified case so it doesn't appear in !cases or !info",
allowDms: false,
signature: [
slashOptions.string({ name: "case-number", description: "The number of the case to hide", required: true }),
],
async run({ interaction, options, pluginData }) {
actualHideCaseCmd(pluginData, interaction, options["case-number"].split(/[\s,]+/).map(Number));
},
};