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