Ask coding questions

← Back to all posts
why the run button do nothing ?
FineMouche (2)

it's my first time i import a code via Github.

*BTW do my token is well used by putting 'my_secret' in 'bot.run(os.getenv(my_secret))' ?

it was 'bot.run(os.getenv("TOKEN"))' before.*
|_> this is resolve. (btw why markdown for make it italyc don't work ?)

But for the run button doing nothing, it still here.

Comments
hotnewtop
Coder100 (18930)

nope, it was bot.run(os.getenv('TOKEN')) and that is correct.
Then, you click on the padlock in the navbar to your left, and you set the key, TOKEN to the value: your discord bot token. Keep this secure! You don't want to see that in your editor, only in your secrets.

FineMouche (2)

@Coder100 i did it, look thre is the "my_secret = os.environ['TOKEN']" line which i add via the tool ^^