Cooldown code is not working
opened this issue · comments
let time = cooldown[msg.author.id][cmdFile.name] || 0
time is returning 0 even after command like kick file has cooldown of 30
deleted account O.o
Defected Bot is a Discord.js v12 bot template which features a command & event handler, command cooldown, changeable prefix with MongoDB & more.
opened this issue · comments
let time = cooldown[msg.author.id][cmdFile.name] || 0
time is returning 0 even after command like kick file has cooldown of 30
deleted account O.o