SwitchbladeBot / switchblade

The open source Discord bot that solves all of your problems.

Home Page:https://switchblade.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.env is not working

fw-real opened this issue · comments

Bug description
I filled in the values in the .env file, but when I execute the code the console tells me invalid token and everything, so I came to a conclusion that .env values are not being imported in any other files and whether you fill or don't fill the env file, the errors will be the same that no value has been placed.

How to reproduce

commented

Hi! Sorry but we can't provide support for self-hosting but as I tested yesterday, It managed to run my instance with all environment variables. We highly recommend to use our main instance. Thanks!

TIP: Check our package.json

commented

ignore what I said, just run npm run start-dev, it should work fine