Skip to content

Commit

Permalink
chore: log the env variables for troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed Nov 20, 2024
1 parent a16759e commit 12f1fa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/startWorkers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import discord from './discord'
import { workers } from './workers'

console.log('Starting workers...')

Promise.all(workers.map((worker) => worker.run()))
.then((results) => results.join('\n'))
.then(console.log)

discord.login()
console.log('Discord bot started')
console.log('env', process.env)

0 comments on commit 12f1fa9

Please sign in to comment.