chipmunkbot3/commands/validate.js
2024-02-11 21:23:41 -05:00

15 lines
432 B
JavaScript

const name = 'validate'
const description = 'Tests trusted code validation.'
const usage = '{prefix}validate'
const aliases = ['validate']
const enabled = true
const permLevel = 1
function execute (bot, cmd, entity, args, handler) {
bot.core.run(`/tellraw @a ${JSON.stringify([
{ text: 'Valid code.', color: bot.colors.primary }
])}`)
}
module.exports = { name, description, usage, aliases, enabled, execute, permLevel }