setup.py creates unusable .env file
When setting up the bot for the first time with setup.py, it asks for various details to set up the bot. These details are then saved in a new .env file, which is missing lots of variables from the normal .env.template file included in the download of the bot. Because of all the missing variables, the bot will crash every time it is started.
I would simply advise to delete or disable setup.py until this issue is fixed.

On the right is the normal .env file, on the left is the .env file created by setup.py
Did you rename '.env.template' to '.env'?
The system is trying to access '.env' file but is unable to find it, so it's creating a new one.
Did you rename '.env.template' to '.env'?
The system is trying to access '.env' file but is unable to find it, so it's creating a new one.
To clarify a little bit: I don't have a problem with the bot. I simply was curious about the automated install feature, so I tried it out on a different PC. The setup process went smoothly, there were no errors or something. But the program creates a new .env file, which is recognized by main.py, but it still doesn't work because there are so many things missing.
Aah ok. Got it. I haven't used the setup feature yet, so misunderstood.
Will give it a shot once, then we can try and solve the problem together.
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.
Update to develop