How to have cooldown on commands based on conditions
Basically, I want a cooldown on the command if the user lost, but not if the user won(which would be a bool).
6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
discord.js v14.7.1
node version v18.12.1
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Well what if the bot doesn't restart very often?
also, if it helps, the cooldown is 5 minutes
right now i'm taking a stupid route where I'm timing the user out for 5 minutes
(no one uses the command anyways so it's fine for now)
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
nice.