Fix cooldown display

This commit is contained in:
Supositware 2022-12-18 23:00:08 +01:00
parent 467d282a3c
commit fcb7776f60

View file

@ -327,7 +327,7 @@ export default {
} }
if (command.ratelimit === ratelimit[userID][commandName].limit) { if (command.ratelimit === ratelimit[userID][commandName].limit) {
return await message.reply({ content: `You are being rate limited. You can try again in ${Math.floor((ratelimit[userID][commandName].cooldown - date) / 1000)} seconds.`, ephemeral: true }); return await message.reply({ content: `You are being rate limited. You can try again in ${Math.floor((ratelimit[userID][commandName].cooldown - date) / 1000)}huh seconds.`, ephemeral: true });
} }
} }