From b47d69d525e6616d36957eaccad1733bf1b7855f Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 22 Dec 2018 18:57:24 +0200 Subject: [PATCH] Allow any text after 'expand' in !cases for memes --- 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 59ff2557..5f87d259 100644 --- a/src/plugins/ModActions.ts +++ b/src/plugins/ModActions.ts @@ -867,7 +867,7 @@ export class ModActionsPlugin extends ZeppelinPlugin { }); } - @d.command(/cases|usercases/, " [expanded:string]") + @d.command(/cases|usercases/, " [expanded:string$]") @d.permission("view") async usercasesCmd(msg: Message, args: { userId: string; expanded?: string }) { const cases = await this.cases.with("notes").getByUserId(args.userId);