Question:
I am trying to learn to make discord bots for personal/school discords. Where are you supposed to put the token that you get?
Repl link:
N/A
TOKEN = XYZ
something(TOKEN)
Question:
I am trying to learn to make discord bots for personal/school discords. Where are you supposed to put the token that you get?
Repl link:
N/A
TOKEN = XYZ
something(TOKEN)
Typically you would put a token it the secret tab (So it’s not just in plain sight), I’m not sure how you pass it to the bot though.
Might be client.run(TOKEN)
, just saw that code in a different thread.
For python
client.run(token)
For js
client.login(token)