Prevent massive spam

This commit is contained in:
Daniel Odendahl Jr
2017-11-20 21:32:04 +00:00
parent 1efa71c863
commit 0d3c2cfb1c
+1 -1
View File
@@ -36,7 +36,7 @@ module.exports = class HelpCommand extends Command {
**Aliases**: ${data.aliases.join(', ') || 'None'}
**Group**: ${data.group.name} (\`${data.groupID}:${data.memberName}\`)
`);
} else if (commands.length <= 15) {
} else if (commands.length > 15) {
return msg.say('Multiple commands found. Please be more specific.');
} else if (commands.length > 1) {
return msg.say(disambiguation(commands, 'commands'));