mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-11-30 06:05:40 -05:00
15 lines
308 B
JavaScript
15 lines
308 B
JavaScript
module.exports = {
|
|
name: 'echo',
|
|
description:['make me say something in chat'],
|
|
execute (context) {
|
|
const bot = context.bot
|
|
const message = context.arguments.join(' ')
|
|
|
|
if (message.startsWith('/')) {
|
|
bot.command(message.substring(1))
|
|
return
|
|
}
|
|
bot.chat(message)
|
|
}
|
|
}
|