import os class Secrets: def __init__(self): self.dbl_token = '' # DBL token (only needed for public bot) self.mongo_db = ('mongodb://%s:%s@mongo:27017/pollmaster' % (os.environ.get('MONGO_INITDB_ROOT_USERNAME'), os.environ.get('MONGO_INITDB_ROOT_PASSWORD'))) self.bot_token = os.environ.get('DISCORD_BOT_TOKEN') # official discord bot token self.mode = 'development' # or production SECRETS = Secrets()