diff --git a/src/plugins/ModActions.ts b/src/plugins/ModActions.ts index 6d4e0814..00e2d414 100644 --- a/src/plugins/ModActions.ts +++ b/src/plugins/ModActions.ts @@ -702,7 +702,7 @@ export class ModActionsPlugin extends Plugin { if (cases.length === 0) { msg.channel.createMessage("No cases found for the specified user!"); } else { - if (args.expanded === "expanded") { + if (args.expanded && args.expanded.startsWith("expand")) { // Expanded view (= individual case embeds) for (const theCase of cases) { await this.displayCase(theCase.id, msg.channel.id);