From dd251cef9b2cab96c890f8242b9c8ae540115030 Mon Sep 17 00:00:00 2001 From: Toast <96593068+AnxietyisReal@users.noreply.github.com> Date: Thu, 6 Jul 2023 17:14:09 +1000 Subject: [PATCH] https://media.tenor.com/mZZoOtDcouoAAAAC/stop-it-get-some-help.gif --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a473dab..b14784d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,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'].includes(error.message)) return; + if (['getaddrinfo ENOTFOUND discord.com', 'getaddrinfo EAI_AGAIN discord.com', '[Error: 30130000:error:0A000410:SSL'].includes(error.message)) return; //console.error(error); const channel = client.channels.resolve(client.config.mainServer.channels.errors) as Discord.TextChannel | null; // vvv Oh yes, that looks really hot.