From 6f05ebaa671e1149a23ccb52fc97a240c022a626 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sat, 20 Aug 2022 19:02:54 +0700 Subject: [PATCH] remove chomens server --- config.js | 5 ----- index.js | 5 ----- run.js | 3 --- 3 files changed, 13 deletions(-) diff --git a/config.js b/config.js index e949a6d..cb72330 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,6 @@ module.exports = { '129.159.58.114:25565': '998945155316973650', '192.168.1.103:25565': '1002806756885413978', 'kitsune.icu:25565': '1004006678460637315', - 'mc.chomens41793.ga:25565': '1010461850787389451', }, 'prefix': '!', 'trustedRoleID': '981159334299983953', @@ -35,9 +34,5 @@ module.exports = { 'host': 'play.kaboom.pw', 'port': 25565, }, - { - 'host': 'mc.chomens41793.ga', - 'port': 25565, - }, ], }; diff --git a/index.js b/index.js index 80ed76a..544998e 100644 --- a/index.js +++ b/index.js @@ -61,7 +61,6 @@ 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'; @@ -448,10 +447,6 @@ 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); diff --git a/run.js b/run.js index ca778d8..8f904a8 100644 --- a/run.js +++ b/run.js @@ -35,9 +35,6 @@ function start(host, port) { if (host=='kitsune.icu') { theServer = 'kitsune'; } - if (host=='mc.chomens41793.ga') { - theServer = 'chomens'; - } eval(`${theServer} = []`); eval(`${theServer}loop = setInterval(() => { if (${theServer}[0]) {