diff --git a/config.js b/config.js index 8016a4e..e949a6d 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,7 @@ module.exports = { '129.159.58.114:25565': '998945155316973650', '192.168.1.103:25565': '1002806756885413978', 'kitsune.icu:25565': '1004006678460637315', - 'mc.chomens41793.ga': '1010461850787389451', + 'mc.chomens41793.ga:25565': '1010461850787389451', }, 'prefix': '!', 'trustedRoleID': '981159334299983953', diff --git a/index.js b/index.js index f18dd55..9860195 100644 --- a/index.js +++ b/index.js @@ -101,7 +101,7 @@ function dcmsg() { function botThings() { bot = new EventEmitter(); bot.options = { - username: `${randomstring.generate(16)}`, + username: process.argv[2] === 'mc.chomens41793.ga' ? 'ChomeNS_Bot' : randomstring.generate(16), host: process.argv[2], port: process.argv[3] ? Number(process.argv[3]) : 25565, version: '1.18.2',