Update commands/cmdtest.js

This commit is contained in:
4Parker02991 2024-01-27 10:43:26 -05:00
parent 381838d1f0
commit 0af3463910

View file

@ -61,7 +61,7 @@ context.source.player.displayName ?? context.source.player.profile.name,
//ChatMessage.fromNotch(`${process.env["buildstring"]}`).toMotd().replaceAll('§', '&')
if (bot.options.Core.CorelessMode){
if (!bot.options.Core.enabled){
const ChatMessage = require('prismarine-chat')(bot.options.version)
bot.chat(`Hello, World!, Player: ${ChatMessage.fromNotch(context.source.player.displayName ?? context.source.player.profile.name).toMotd().replaceAll('§', '&')}, uuid: ${context.source.player.uuid}, Argument: ${args.slice(1).join(' ')}`)