channel-block-tg/data/config.py
Groosha f5e22c3569
Removed redundant conversion to string in config.py
According to [os.getenv()](https://docs.python.org/3/library/os.html#os.getenv) documentation, a string is returned, no need to wrap the result in `str()` again.
2020-11-07 03:36:20 +03:00

14 lines
156 B
Python

import os
from dotenv import load_dotenv
load_dotenv()
BOT_TOKEN = os.getenv("BOT_TOKEN")
admins = [
os.getenv("ADMIN_ID"),
]
ip = os.getenv("ip")