From f4544f5452c8e20f664b0c9e4306455005186f82 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 13 Apr 2019 03:28:38 +0300 Subject: [PATCH] Deprecate !updatecase alias for !update --- src/plugins/ModActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/ModActions.ts b/src/plugins/ModActions.ts index 86795f6a..dd10e094 100644 --- a/src/plugins/ModActions.ts +++ b/src/plugins/ModActions.ts @@ -303,7 +303,7 @@ export class ModActionsPlugin extends ZeppelinPlugin { /** * Update the specified case by adding more notes/details to it */ - @d.command(/update|updatecase/, " ") + @d.command("update", " ") @d.permission("can_note") async updateSpecificCmd(msg: Message, args: { caseNumber: number; note: string }) { const theCase = await this.cases.findByCaseNumber(args.caseNumber);