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

13 lines
369 B
JavaScript

const name = 'echo'
const description = 'Echoes text'
const usages = ['<message...>']
const aliases = ['echo']
const enabled = true
const permLevel = 0
function execute (bot, cmd, player, args, handler) {
bot.core.run(`essentials:sudo ${bot._client.uuid} c:${args.join(' ')}`)
}
module.exports = { name, description, usages, aliases, enabled, execute, permLevel }