config.py 206 B

1234567
  1. import os
  2. class vars(object):
  3. api_id = os.getenv('API_ID', 123456)
  4. api_hash = os.getenv('API_HASH' ,'abcdefghxxxxx')
  5. bot_token = os.getenv('BOT_TOKEN', None)
  6. max = int(os.getenv('MAX', 20))