From 15ccb98a8b420a8f3f102d5a6450f9cc137d8623 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 20 Aug 2023 12:41:12 +1000 Subject: [PATCH] Update index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 78aa97a..7c911ce 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,7 +31,7 @@ client.on('ready', async()=>{ // Error handler function DZ(error:Error, type:string){// Yes, I may have shiternet but I don't need to wake up to like a hundred messages or so. if ([ - 'getaddrinfo ENOTFOUND discord.com', 'getaddrinfo EAI_AGAIN discord.com', + 'ConnectTimeoutError: Connect Timeout Error', 'getaddrinfo EAI_AGAIN discord.com', '[Error: 30130000:error:0A000410:SSL', '[Error: F8200000:error:0A000410:SSL', 'HTTPError: Internal Server Error' ].includes(error.message)) return;