From bb63590e7874858f4f3f689d9a0686f819442735 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Tue, 22 Nov 2022 21:53:29 +1100 Subject: [PATCH] mpstats is done being tested, sorry PS --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0d9075b..cef3c31 100644 --- a/src/index.ts +++ b/src/index.ts @@ -67,14 +67,13 @@ setInterval(async()=>{ const completedURL_DSS = DBURL + '/feed/dedicated-server-stats.json?code=' + DBCode const completedURL_CSG = DBURL + '/feed/dedicated-server-savegame.html?code=' + DBCode + '&file=careerSavegame' if (!verifyURL) return msg.edit({content: 'Invalid gameserver IP, please update!', embeds: null}) - console.log(DBURL + '\n' + DBCode) try { Server = await client.axios.get(completedURL_DSS, {timeout: 4000}) } catch (err){ if (client.config.botSwitches.mpstatsDebug) { console.log(err) } else { - console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}] dag mp dss fail`) + console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}] dag mp dss fail, maybe host isn't responding?`) } embed.setTitle('Host is not responding.').setColor(client.config.embedColorRed) msg.edit({content: null, embeds: [embed]})