I am currently watching the " Code a Discord Bot with Python - Host for Free in the Cloud" tutorial.
At some point you need to create a file called “.env”
I moved your question to its own topic because you were asking a question related to your own code for a challenge and were not answering the OP of the other thread. It is always best to create your own thread for you specific question(s).
You need to follow the new workflow of using the Secrets tab as it says there in the error message, replit doesn’t allow creating env files anymore
Check the docs
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.