This commit is contained in:
Chris Ham
2018-05-06 07:06:18 -07:00
parent 94c6049e44
commit c8920016a1
22 changed files with 9 additions and 6 deletions

View File

@@ -147,7 +147,7 @@ client.on('ready', () => {
if (!msg.content.startsWith(config.prefix)) return;
// And that it's not on cooldown
let cooldownKey = msg.content + msg.channel.id;
let cooldownKey = config.botName + msg.content + msg.channel.id;
cooldowns.get(cooldownKey, config.textCmdCooldown)
.then(onCooldown => {
if (onCooldown === false) {