diff --git a/config.js b/config.js index cb72330..fdeaae8 100644 --- a/config.js +++ b/config.js @@ -17,6 +17,7 @@ module.exports = { '129.159.58.114:25565': '998945155316973650', '192.168.1.103:25565': '1002806756885413978', 'kitsune.icu:25565': '1004006678460637315', + 'mc.chomens41793.ga:25565': '1010734897796763758', }, 'prefix': '!', 'trustedRoleID': '981159334299983953', diff --git a/index.js b/index.js index 544998e..80ed76a 100644 --- a/index.js +++ b/index.js @@ -61,6 +61,7 @@ const dinboomchannel = config.discord.servers['129.159.58.114:25565']; const kaboomchannel = config.discord.servers['play.kaboom.pw:25565']; const localclonechannel = config.discord.servers['192.168.1.103:25565']; const kitsunechannel = config.discord.servers['kitsune.icu:25565']; +const chomensserverchannel = config.discord.servers['mc.chomens41793.ga:25565']; let chomenschannel = '969773424387981356'; const hashchannel = '980438368422871151'; const ownerhashchannel = '980786390247833620'; @@ -447,6 +448,10 @@ dcclient.on('ready', async () => { channel = dcclient.channels.cache.get(kitsunechannel); bot.channel = dcclient.channels.cache.get(kitsunechannel); } + if (process.argv[2]==='mc.chomens41793.ga') { + channel = dcclient.channels.cache.get(chomensserverchannel); + bot.channel = dcclient.channels.cache.get(chomensserverchannel); + } await sleep(200); main(); chomenschannel = dcclient.channels.cache.get(chomenschannel);