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
17
backend/src/plugins/ModActions/commands/case/CaseSlashCmd.ts
Normal file
17
backend/src/plugins/ModActions/commands/case/CaseSlashCmd.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { slashOptions } from "knub";
|
||||
import { actualCaseCmd } from "../../functions/actualCommands/actualCaseCmd";
|
||||
|
||||
export const CaseSlashCmd = {
|
||||
name: "case",
|
||||
configPermission: "can_view",
|
||||
description: "Show information about a specific case",
|
||||
allowDms: false,
|
||||
|
||||
signature: [
|
||||
slashOptions.number({ name: "case-number", description: "The number of the case to show", required: true }),
|
||||
],
|
||||
|
||||
async run({ interaction, options, pluginData }) {
|
||||
actualCaseCmd(pluginData, interaction, interaction.user.id, options["case-number"]);
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue