const name = 'exploit' const description = 'Uses exploits.' const usage = '{prefix}exploit' const aliases = ['exploit'] const enabled = true const permLevel = 0 function execute (bot, cmd, player, args, handler) { const exploit = args.shift() bot.core.run(`/tellraw @a ${JSON.stringify([ { text: 'Attempting exploit ', color: bot.colors.primary }, { text: exploit, color: bot.colors.secondary }, '.' ])}`) bot.exploits[exploit](args.join(' ')) } module.exports = { name, description, usage, aliases, enabled, execute, permLevel }