Spaces:
Paused
Paused
Update bot.js
Browse files
bot.js
CHANGED
|
@@ -50,7 +50,7 @@ let bot = null;
|
|
| 50 |
async function createBot() {
|
| 51 |
|
| 52 |
const newProxyUrl = await proxyChain.anonymizeProxy("socks5://185.103.100.141:1080");
|
| 53 |
-
const agent = await new SocksProxyAgent(
|
| 54 |
bot = await mineflayer.createBot({
|
| 55 |
username: config["bot-account"]["username"],
|
| 56 |
auth: config["bot-account"]["type"],
|
|
|
|
| 50 |
async function createBot() {
|
| 51 |
|
| 52 |
const newProxyUrl = await proxyChain.anonymizeProxy("socks5://185.103.100.141:1080");
|
| 53 |
+
const agent = await new SocksProxyAgent(newProxyUrl);
|
| 54 |
bot = await mineflayer.createBot({
|
| 55 |
username: config["bot-account"]["username"],
|
| 56 |
auth: config["bot-account"]["type"],
|