From 4172f8a38fafc976255771672e63db52cf49a84e Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sat, 22 Jul 2023 00:17:27 +1000 Subject: [PATCH] Nothing special really. --- src/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.ts b/src/client.ts index 09b3a4c..68197de 100644 --- a/src/client.ts +++ b/src/client.ts @@ -100,6 +100,7 @@ export default class TClient extends Client { serverSelectionTimeoutMS: 15000, waitQueueTimeoutMS: 50000, socketTimeoutMS: 30000, + tls: false, family: 4 }).then(()=>console.log(this.logTime(), 'Successfully connected to MongoDB')).catch(err=>{console.error(this.logTime(), `Failed to connect to MongoDB\n${err}`); exec('pm2 stop Daggerbot')}) this.login(this.tokens.main);