Ask coding questions
can someone solve this problem for me i run the code and it not working please help
my_secret = os.environ['keys']
It should be
More info on how to use environment variables here:https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables
Check that your discord bot key is under environment variables with the key being "keys" (what you wrote on line 43).It should look like this:
os.environ["(the key to your discord bot key, the text in the top box in the last image, goes here.)"