hashing fix real

This commit is contained in:
ChomeNS 2022-11-07 20:09:29 +07:00
parent b1f8f28f4e
commit acf6f0cb00

View file

@ -5,7 +5,7 @@ module.exports = {
const interval = setInterval(() => {
bot.hash = crypto.createHash('sha256').update(Math.floor(Date.now() / 10000) + config.keys.normalKey).digest('hex').substring(0, 16);
bot.ownerHash = crypto.createHash('sha256').update(Math.floor(Date.now() / 10000) + config.keys.ownerHashKey).digest('hex').substring(0, 16);
}, 5000);
}, 9000);
bot.on('end', () => {
clearInterval(interval);
});