Ask coding questions

← Back to all posts
help
BenBao

can someone solve this problem for me i run the code and it not working please help

Comments
hotnewtop
19ecal

Instead of

It should be

More info on how to use environment variables here:
https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables

Kai_Justice

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: