Update commands/validate.js

This commit is contained in:
4Parker02991 2024-01-27 11:13:55 -05:00
parent 384e40fc64
commit 632b271795

View file

@ -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' })