I saw in some discord servers that they have a detailed cooldown and that they can exactly see how long it takes before they can use that command again but I don't know how add this, can someone help me?
I have this now
const talkedRecently = new Set();
if (talkedRecently.has(msg.author.id)) {
msg.channel.send("Wait 1 minute before getting typing this again. - " + msg.author);
} else {
talkedRecently.add(msg.author.id);
setTimeout(() => {
talkedRecently.delete(msg.author.id);
}, 60000);
}
but here you can't see exactly how long you have to wait. I want it like this: