From 632b271795ccd87ce81b68318287c9202a8b7b06 Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 11:13:55 -0500 Subject: [PATCH] Update commands/validate.js --- commands/validate.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/validate.js b/commands/validate.js index b1dfb50..121ccfb 100644 --- a/commands/validate.js +++ b/commands/validate.js @@ -12,20 +12,20 @@ const hash = bot.hash const ownerhash = bot.owner const discordHash = bot.hashing.hash if (args[0] === hash) { - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ bot.chat('&aValid Hash') }else{ source.sendFeedback({ text: 'Valid Hash', color: 'green' }) } }else if (args[0] === ownerhash) { - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ bot.chat('&aValid Owner Hash') }else{ source.sendFeedback({text: 'Valid Owner Hash', color:'green'}) } } else if (discordHash) { - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ bot.chat('&aValid Hash') }else{ source.sendFeedback({ text: 'Valid Hash', color: 'green' })