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