config.py 238 B

1234567891011
  1. import os
  2. from dotenv import load_dotenv
  3. load_dotenv()
  4. users_db_file = 'files/users.txt'
  5. logfile = 'files/data.log'
  6. ROOT_ID = int(os.getenv('ROOT_ID'))
  7. BOT_TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')
  8. set_memory = 'self' # 'redis' or 'self'