15 lines
432 B
JavaScript
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 }
|