mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-03 15:45:38 -05:00
eeeeeeeee
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const crypto = require("crypto");
|
||||
function validation (bot, options, config) {
|
||||
async function validation (bot, options, config, discordClient) {
|
||||
let hashRegenInterval = setInterval(() => {
|
||||
bot.validation = {
|
||||
trusted: crypto.createHash('sha256').update(Math.floor(Date.now() / 5000) + config.keys.trusted).digest('hex').substring(0, 16),
|
||||
@@ -7,4 +7,4 @@ function validation (bot, options, config) {
|
||||
}
|
||||
}, 2000)
|
||||
}
|
||||
module.exports = validation;
|
||||
module.exports = validation;
|
||||
|
||||
Reference in New Issue
Block a user