v6.1.2, build: 1200

This commit is contained in:
Parker2991
2024-11-22 12:49:22 -05:00
parent a140a2d12e
commit e655f831d3
63 changed files with 445 additions and 211 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
const crypto = require('crypto')
function validation (bot, options, config) {
function validation (context) {
const bot = context.bot;
const config = context.config;
setInterval(() => {
bot.validation = {
trusted: crypto.createHash('sha256').update(Math.floor(Date.now() / 1000) + config.keys.trusted).digest('hex').substring(0, 16),