mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Update index.ts
This commit is contained in:
parent
710d8586b5
commit
ca507f1cde
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user