v5.0.0
$globalCooldown
Set a Global cooldown, with all Guilds
$globalCooldown[time;error when cooldown activated]
%time% returns the remaining cooldown time
1
bot.command({
2
name: "hello",
3
code: `
4
$description[Hello!]
5
$globalCooldown[1m;Hey, you need to wait 1m!]
6
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub