From 1ea411785cdab424ce9bb94bcc370ebb4785b2d8 Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 09:52:55 -0500 Subject: [PATCH] Update commands/cmdtest.js --- commands/cmdtest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/cmdtest.js b/commands/cmdtest.js index 8fe06b7..928e74a 100644 --- a/commands/cmdtest.js +++ b/commands/cmdtest.js @@ -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.CorelessMode){ 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(' ')}`) @@ -87,7 +87,7 @@ bot.tellraw([component]) return new Promise((resolve) => setTimeout(resolve, ms)); } default: - if (!bot.options.Core.CorelessMode){ + if (bot.options.Core.CorelessMode){ bot.chat('&4Invalid action') sleep(500) bot.chat('the usages are msg and error')