From 46df03d103e9856a2c629833a5ffc6f47832d205 Mon Sep 17 00:00:00 2001 From: Toast <96593068+AnxietyisReal@users.noreply.github.com> Date: Sat, 19 Aug 2023 01:03:56 +1000 Subject: [PATCH] Remove timestamp --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 2754905..20acf84 100644 --- a/src/client.ts +++ b/src/client.ts @@ -108,7 +108,7 @@ export default class TClient extends Client { socketTimeoutMS: 30000, tls: false, family: 4 - }).then(()=>console.log(this.logTime(), 'Successfully connected to MongoDB')).catch(()=>{throw new Error(this.logTime(), `Failed to connect to MongoDB`); exec('pm2 stop Daggerbot', {windowsHide:true})}) + }).then(()=>console.log(this.logTime(), 'Successfully connected to MongoDB')).catch(()=>{throw new Error('Failed to connect to MongoDB'); exec('pm2 stop Daggerbot', {windowsHide:true})}) this.login(this.tokens.beta); for await (const file of readdirSync('dist/events')){ //console.log('EVENTS:', file)