mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 05:45:02 +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,24 @@
|
|||
import { commandTypeHelpers as ct } from "../../../../commandTypes";
|
||||
import { updateCase } from "../../functions/updateCase";
|
||||
import { modActionsMsgCmd } from "../../types";
|
||||
|
||||
export const UpdateMsgCmd = modActionsMsgCmd({
|
||||
trigger: ["update", "reason"],
|
||||
permission: "can_note",
|
||||
description:
|
||||
"Update the specified case (or, if case number is omitted, your latest case) by adding more notes/details to it",
|
||||
|
||||
signature: [
|
||||
{
|
||||
caseNumber: ct.number(),
|
||||
note: ct.string({ required: false, catchAll: true }),
|
||||
},
|
||||
{
|
||||
note: ct.string({ required: false, catchAll: true }),
|
||||
},
|
||||
],
|
||||
|
||||
async run({ pluginData, message: msg, args }) {
|
||||
await updateCase(pluginData, msg.channel, msg.author, args.caseNumber, args.note, [...msg.attachments.values()]);
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue