From a28cef6c96527cb387dfc78a7e737ef13e8d2d03 Mon Sep 17 00:00:00 2001 From: Shaxrik200608 <106919694+Shaxrik200608@users.noreply.github.com> Date: Mon, 20 Jun 2022 20:32:11 +0500 Subject: [PATCH] Update bot.py Test --- Python/bot.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Python/bot.py b/Python/bot.py index e93b8ca..5f2ff5d 100644 --- a/Python/bot.py +++ b/Python/bot.py @@ -7,22 +7,22 @@ config.read('config.ini') def getInputBoxValue(): - userInput = host.get() + userInput = host.get(UzbekKlan.aternos.me) return userInput def getInputBoxValue(): - userInput = port.get() + userInput = port.get(47173) return userInput def getInputBoxValue(): - userInput = nick.get() + userInput = nick.get(test) return userInput def startbot(): bot = mineflayer.createBot({ - 'host': f'{host.get()}', - 'port': port.get(), - 'username': f'{nick.get()}' + 'host': f'{host.get(UzbekKlan.aternos.me)}', + 'port': port.get(47173), + 'username': f'{nick.get(test)}' }) @On(bot, "login") def login(this):