mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-01 14:45:43 -05:00
26 lines
610 B
JavaScript
26 lines
610 B
JavaScript
const CommandError = require('../CommandModules/command_error')
|
|
|
|
module.exports = {
|
|
name: 'console',
|
|
consoleOnly: true,
|
|
|
|
execute (context) {
|
|
const message = context.arguments.join(' ')
|
|
|
|
const prefix = {
|
|
translate: '[%s%s%s%s][%s] ',
|
|
bold: true,
|
|
color: 'gray',
|
|
with: [
|
|
{ color: 'dark_purple', text: 'FNF' },
|
|
{ color: 'aqua', text: 'Boyfriend' },
|
|
{ color: 'dark_red', text: 'Bot' },
|
|
{ color: 'black', text: 'X' },
|
|
{ color: 'dark_green', text: 'Console' },
|
|
]
|
|
}
|
|
|
|
context.bot.tellraw(['', prefix, message])
|
|
}
|
|
}
|