From baa020ae1d05d00b8657e04aa0413e618106630b Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@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)