Closed DraTrav closed 1 year ago
Howdy @DraTrav,
double check and make sure "$" character is not used as a value for variables in the .env
Edit: I missed the bottom of the error NEXT_PUBLIC_INVITE_URL
is missing or invalid in the .env
file, you can add
NEXT_PUBLIC_INVITE_URL="https://discord.com/api/oauth2/authorize?client_id=yourclientid&permissions=8&scope=bot"
and replace the text yourclientid
in the url with your DISCORD_CLIENT_ID
info that is listed in the .env
should be good
A full example of the .env
can be found here
I hope this help
Much Love -Bacon
The other thing to try if everything is correct in the .env
, is using the LTS (Long Term Support) version of nodejs (18.14.2) instead of Latest (19.xx.x)
Much Love -Bacon
I had a $ in the password for the database password, removing it fixed the "NEXT_PUBLIC_INVITE_URL" error and the bot started up properly!
Describe the bug on startup the bot fails to load the config and prevents the bot from working at all
To Reproduce 1.Start the bot
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):