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

Migrate ModActions to new Plugin structure !!mutes dont work!!

This commit is contained in:
Dark 2020-07-24 02:25:33 +02:00
parent ebcb28261b
commit fd56664984
29 changed files with 1213 additions and 16 deletions

View file

@ -13,10 +13,15 @@ export const UpdateCmd = modActionsCommand({
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 }),
},
signature: [
{
caseNumber: ct.number(),
note: ct.string({ required: false, catchAll: true }),
},
{
note: ct.string({ catchAll: true }),
},
],
async run({ pluginData, message: msg, args }) {
let theCase: Case;