Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Keep Discord Bot Token Hidden

littlepenguin
littlepenguin

How do you keep a Discord Bot Token a secret?
Thanks
Lang(Python)

2 years ago
You are viewing a single comment. View All
3
PattanAhmed
PattanAhmed

@CT2224
Hi,
Yeah, I know.
The main part of making a Discord bot is storing the tokens.
The Repl.it also has the ability to keep your tokens safe and secure only when you create a file called .env and save the data there.

No one can access it even when they Fork or Download the Repl.
Read this docs for more info:- https://docs.repl.it/repls/secret-keys

That's it
Thanks!

Hope this helps!

2 years ago