1
Hi guys, so I'm working on a Discord bot for one of my projects. I'm using the environment variables feature in Repl.it to keep my tokens safe. The fi
Python
Coder100 Have you checked out the docs?
Because you are using the functions incorrectly:
https://docs.replit.com/repls/secrets-environment-variables#secrets-environment-variables1 year ago
FishballNooodle Hi its is token = os.getenv("discotoken")
There are also other ways to do this:
token = os.environ["discotoken"]
Sometimes both of these won't work cos Replit is autistic
Anyways we can still use ReplDB since its private and unique for every Repl.
from replit import db
token = db["discotoken"]
Before this works:
Go to Shell (Bottom Right, next to Console Tab)
follow these commands
python3
from replit import db
db["discotoken"] =
Should all work now1 year ago
0
GeminiStationClientA client that allows the user to interact with a game's API (like SpaceTraders.io) to do things in-game and represent this in a web app format.
Designed for GeminiStation.com (ar.skinetics.tech/stellarios)
20
0
0
1
Designed to work with something like Notion or any other notes app that can import csv files.
Find out more:
http://ar.skinetics.tech/stellarios/docs
Python