From 7bb34ee12090fe922524f677434048f1c536622a Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 15 Jan 2023 18:38:40 +1100 Subject: [PATCH] :rock_eyebrow: --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f7812b8..b9ec9bf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -83,7 +83,7 @@ setInterval(async()=>{ }; if (!verifyURL) return msg.edit({content: 'Invalid gameserver IP, please update!', embeds: null}) async function serverData(client:TClient, URL: string){ - return await client.axios.get(URL, {timeout: 4000, headers: {'User-Agent': `Daggerbot/axios ${client.axios.VERSION}`}}).catch((error:Error)=>error.message) + return await client.axios.get(URL, {timeout: 4000, maxContentLength: Infinity, headers: {'User-Agent': `Daggerbot/axios ${client.axios.VERSION}`}}).catch((error:Error)=>error.message) } await Promise.all([serverData(client, completedURL_DSS), serverData(client, completedURL_CSG)]).then(function(results){ if (typeof results[0] == 'string'){