mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
i forgor server.host === thing
This commit is contained in:
parent
0f335cd480
commit
d20bbabc94
1 changed files with 1 additions and 1 deletions
2
bot.js
2
bot.js
|
@ -28,7 +28,7 @@ const mineflayer = require('mineflayer');
|
|||
async function createBot(server, config, getBots, dcclient, rl) {
|
||||
const bot = new EventEmitter();
|
||||
bot.options = {
|
||||
username: /* process.argv[2] */ server.host === 'mc.chomens41793.ga' ?
|
||||
username: /* process.argv[2] */ !server.kaboom ?
|
||||
'ChomeNS_Bot' :
|
||||
randomstring.generate(16),
|
||||
host: /* process.argv[2] */ server.host,
|
||||
|
|
Loading…
Reference in a new issue