Spaces:
Paused
Paused
Update bot.js
Browse files
bot.js
CHANGED
|
@@ -63,8 +63,8 @@ async function createBot() {
|
|
| 63 |
}
|
| 64 |
};
|
| 65 |
|
| 66 |
-
const newProxyUrl = await proxyChain.anonymizeProxy("socks4://176.88.166.215:1080");
|
| 67 |
-
const agent = await new SocksProxyAgent(newProxyUrl);
|
| 68 |
bot = await mineflayer.createBot({
|
| 69 |
username: config["bot-account"]["username"],
|
| 70 |
auth: config["bot-account"]["type"],
|
|
|
|
| 63 |
}
|
| 64 |
};
|
| 65 |
|
| 66 |
+
//const newProxyUrl = await proxyChain.anonymizeProxy("socks4://176.88.166.215:1080");
|
| 67 |
+
//const agent = await new SocksProxyAgent(newProxyUrl);
|
| 68 |
bot = await mineflayer.createBot({
|
| 69 |
username: config["bot-account"]["username"],
|
| 70 |
auth: config["bot-account"]["type"],
|