3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Don't ask

This commit is contained in:
Dragory 2018-08-02 03:03:59 +03:00
parent 9769e38f17
commit ebd25b13c2

View file

@ -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);