mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
ModActions: show username in 'no cases found' response
This commit is contained in:
parent
21a65f8cf4
commit
e69390c5f4
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue