Allow any text after 'expand' in !cases for memes
This commit is contained in:
parent
50ce6ade3e
commit
b47d69d525
1 changed files with 1 additions and 1 deletions
|
@ -867,7 +867,7 @@ export class ModActionsPlugin extends ZeppelinPlugin {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@d.command(/cases|usercases/, "<userId:userId> [expanded:string]")
|
@d.command(/cases|usercases/, "<userId:userId> [expanded:string$]")
|
||||||
@d.permission("view")
|
@d.permission("view")
|
||||||
async usercasesCmd(msg: Message, args: { userId: string; expanded?: string }) {
|
async usercasesCmd(msg: Message, args: { userId: string; expanded?: string }) {
|
||||||
const cases = await this.cases.with("notes").getByUserId(args.userId);
|
const cases = await this.cases.with("notes").getByUserId(args.userId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue