1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -05:00

Remove timestamp

This commit is contained in:
Toast 2023-08-19 01:03:56 +10:00 committed by GitHub
parent 00954f4856
commit 46df03d103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)