Closed xhyrom closed 10 months ago
Just going to state what i said in discord again so people are aware.
Bun loads env.production
and env.development
according to NODE_ENV
so doing any runtime checks for a constant is not needed.
There is also env.local
that gets priority over all the previous ones and can also be used for the same purpose.
Just going to state what i said in discord again so people are aware.
Bun loads
env.production
andenv.development
according toNODE_ENV
so doing any runtime checks for a constant is not needed.There is also
env.local
that gets priority over all the previous ones and can also be used for the same purpose.
ohhh, yep
On a side note.
The README
should be updated, the bot hasnt been serverless for a while now.
Thanks @Didas-git for big help https://github.com/xHyroM/bun-discord-bot/pull/31