/* eslint-disable max-len */ module.exports = { name: 'validate', description: 'Validates hash', alias: [], usage: '', trusted: 1, execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) { if (args[0] === hash) { bot.tellraw(selector, {text: 'Valid hash', color: 'green'}); } else if (args[0] === ownerhash) { bot.tellraw(selector, {text: 'Valid OwnerHash', color: 'green'}); } else { bot.tellraw(selector, {text: 'Invalid hash', color: 'red'}); } }, };