2024-07-28 02:37:31 -04:00
|
|
|
const { bot } = require('../../index.js')
|
|
|
|
module.exports = {
|
|
|
|
execute: (c) => {
|
|
|
|
const json = {
|
|
|
|
translate: '[%s] %s: %s',
|
|
|
|
with: [
|
|
|
|
{
|
|
|
|
translate: '%s:%s',
|
|
|
|
with: [
|
|
|
|
{
|
|
|
|
text: c.host,
|
|
|
|
color: c.colors.primary
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: c.port + '',
|
|
|
|
color: c.colors.primary
|
|
|
|
}
|
|
|
|
],
|
|
|
|
color: c.colors.secondary
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: c.username,
|
|
|
|
color: c.colors.primary
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: c.args.join(' ')
|
2024-07-27 02:39:18 -04:00
|
|
|
}
|
2024-07-28 02:37:31 -04:00
|
|
|
],
|
|
|
|
color: 'white'
|
|
|
|
}
|
|
|
|
for (const i in bot) {
|
|
|
|
bot[i].tellraw('@a', json)
|
2024-07-27 02:39:18 -04:00
|
|
|
}
|
2024-07-28 02:37:31 -04:00
|
|
|
}
|
2024-07-27 02:39:18 -04:00
|
|
|
}
|