From 298c99f9d323615dc1de3bb124a73f9ec9265e93 Mon Sep 17 00:00:00 2001 From: valerik2310 <104064095+valerik2310@users.noreply.github.com> Date: Wed, 20 Apr 2022 11:52:39 +0300 Subject: [PATCH] Update bot.js --- JS/bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JS/bot.js b/JS/bot.js index 35c53c5..b420344 100644 --- a/JS/bot.js +++ b/JS/bot.js @@ -5,12 +5,12 @@ console.log('Starting...') function createBot () { const bot = mineflayer.createBot({ host: "localhost", - port: "25565", + port: "35944", username: "Test", version: false }) bot.on('login', function() { - bot.chat('/reginster 123123123 123123123') + bot.chat('/login 123123123 123123123') }) bot.on('chat', (username, message) => { if (username === bot.username) return @@ -37,4 +37,4 @@ function createBot () { bot.on('error', err => console.log(err)) bot.on('end', createBot) } -createBot() \ No newline at end of file +createBot()