Environment Variables and how to use them

When I was watching one of the videos about Python, (How to make a Discord bot, link: Code a Discord Bot with Python - Host for Free in the Cloud - YouTube) I found out that when using the new environment variables, the script did not work. I’ll put a screenshot with this topic

Hi @Ethandupro !

Welcome to the forum!

Please read through my explanation on how to use env variables in replit.
It will help you see the error in your code.

Thanks for your advice I tried it and it works

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.