3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

Allow any text after 'expand' in !cases for memes

This commit is contained in:
Dragory 2018-12-22 18:57:24 +02:00
parent 50ce6ade3e
commit b47d69d525

View file

@ -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")
async usercasesCmd(msg: Message, args: { userId: string; expanded?: string }) {
const cases = await this.cases.with("notes").getByUserId(args.userId);