diff --git a/commands/util/unknown-command.js b/commands/util/unknown-command.js index a617dab8..63db4624 100644 --- a/commands/util/unknown-command.js +++ b/commands/util/unknown-command.js @@ -24,7 +24,7 @@ module.exports = class UnknownCommandCommand extends Command { return msg.reply(stripIndents` Unknown command. Use ${msg.anyUsage('help', inGuild, inGuild)} to view the command list. - ${results ? `Did You Mean: ${results.slice(0, 5).map(c => `\`${c}\``).join(',')}` : ''} + ${results.length ? `Did You Mean: ${results.slice(0, 5).map(c => `\`${c}\``).join(',')}` : ''} `); }