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:
parent
dfb0e2c19d
commit
a4c4b17a14
91 changed files with 3659 additions and 2032 deletions
|
@ -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));
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue