From 12f1fa9ebef380306614f7bd41218cacdba91ab7 Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Wed, 20 Nov 2024 09:14:18 +0100 Subject: [PATCH] chore: log the env variables for troubleshooting --- src/startWorkers.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/startWorkers.ts b/src/startWorkers.ts index 1d423783..b719c8f2 100644 --- a/src/startWorkers.ts +++ b/src/startWorkers.ts @@ -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)