1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-28 13:05:38 -05:00

Update index.ts

This commit is contained in:
toast-ts 2023-08-20 12:41:12 +10:00
parent 938297e87d
commit 692e8c5eb2

View File

@ -31,7 +31,7 @@ client.on('ready', async()=>{
// Error handler // 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. 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 ([ 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', '[Error: 30130000:error:0A000410:SSL', '[Error: F8200000:error:0A000410:SSL',
'HTTPError: Internal Server Error' 'HTTPError: Internal Server Error'
].includes(error.message)) return; ].includes(error.message)) return;