FridayNightFunkinBoyfriendBot/commands/validate.js

21 lines
563 B
JavaScript
Raw Normal View History

2023-12-17 14:55:27 -05:00
module.exports = {
name: 'validate',
description:['validate in the bot'],
2023-12-20 11:54:03 -05:00
trustLevel: 1,
2023-12-17 14:55:27 -05:00
aliases:['val'],
execute (context) {
const source = context.source
const bot = context.bot
const hash = bot.hash
const args = context.arguments
const ownerhash = bot.owner
if (args[0] === hash) {
source.sendFeedback({ text: 'Valid Hash', color: 'green' })
} else if (args[0] === ownerhash) {
source.sendFeedback({text: 'Valid OwnerHash', color:'green'})
}
}
}
//if (args[0] === hash) {