From e69390c5f4b6ea572a2650ae74f858ed9c281efc Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 12 Jan 2019 12:19:29 +0200 Subject: [PATCH] ModActions: show username in 'no cases found' response --- 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 71c630ac..dde2a1b5 100644 --- a/src/plugins/ModActions.ts +++ b/src/plugins/ModActions.ts @@ -893,7 +893,7 @@ export class ModActionsPlugin extends ZeppelinPlugin { const prefix = this.knub.getGuildData(this.guildId).config.prefix; if (cases.length === 0) { - msg.channel.createMessage("No cases found for the specified user!"); + msg.channel.createMessage(`No cases found for ${user ? `**${userName}**` : 'the specified user'}`); } else { if (args.expanded && args.expanded.startsWith("expand")) { if (cases.length > 8) {