2024-08-20 05:02:48 -04:00
|
|
|
import { getMessage } from '../util/lang.js'
|
|
|
|
export default {
|
2024-08-17 06:41:15 -04:00
|
|
|
execute: (c) => {
|
2024-08-18 03:18:09 -04:00
|
|
|
const reply = function (name, item) {
|
2024-08-17 06:41:15 -04:00
|
|
|
return {
|
|
|
|
translate: '%s: %s',
|
|
|
|
color: c.colors.primary,
|
|
|
|
with: [
|
|
|
|
{
|
|
|
|
text: getMessage(c.lang, `command.test.${name}`),
|
|
|
|
color: c.colors.secondary
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: item,
|
|
|
|
color: c.colors.primary
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2024-08-18 03:18:09 -04:00
|
|
|
c.reply(reply('uuid', c.uuid))
|
|
|
|
c.reply(reply('username', c.username))
|
|
|
|
c.reply(reply('nickname', c.nickname))
|
|
|
|
c.reply(reply('command', c.command))
|
|
|
|
c.reply(reply('msgType', c.msgType))
|
|
|
|
c.reply(reply('prefix', c.prefix))
|
|
|
|
c.reply(reply('args', c.args.join(', ')))
|
|
|
|
c.reply(reply('verify', c.verify.toString()))
|
|
|
|
c.reply(reply('host', c.host))
|
|
|
|
c.reply(reply('port', c.port.toString()))
|
|
|
|
c.reply(reply('lang', c.lang))
|
|
|
|
c.reply(reply('colorPrimary', c.colors.primary))
|
|
|
|
c.reply(reply('colorSecondary', c.colors.secondary))
|
2024-08-17 06:41:15 -04:00
|
|
|
}
|
|
|
|
}
|