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
7

How to hide bot token?

DannMunar
DannMunar

I want to share my bot but i dunno how to hide token, anyone free to help? tia :)

3 years ago
You are viewing a single comment. View All
1
Saaem07
Saaem07

PYTHON
Click on Secrets on left side of screen, then give game TOKEN in key and add the token in Value area then go to your discord bot main.py and then import os and then go to last line and type this bot.login(os.environ.get("TOKEN") and run the bot all your problems get solved

1 year ago