Kanhshsh commited on
Commit
6e2d4cc
·
verified ·
1 Parent(s): f1caa9c

Update info.py

Browse files
Files changed (1) hide show
  1. info.py +5 -5
info.py CHANGED
@@ -13,9 +13,9 @@ def is_enabled(value, default):
13
 
14
  # Bot information
15
  SESSION = environ.get('SESSION', 'Media_search')
16
- API_ID = int(environ.get('API_ID', ''))
17
- API_HASH = environ.get('API_HASH', '')
18
- BOT_TOKEN = environ.get('BOT_TOKEN', "")
19
 
20
  # Bot settings
21
  CACHE_TIME = int(environ.get('CACHE_TIME', 300))
@@ -50,8 +50,8 @@ SUPPORT_CHAT_ID = int(support_chat_id) if support_chat_id and id_pattern.search(
50
  NO_RESULTS_MSG = bool(environ.get("NO_RESULTS_MSG", False)) # True if you want no results messages in Log Channel
51
 
52
  # MongoDB information
53
- DATABASE_URI = environ.get('DATABASE_URI', "")
54
- DATABASE_NAME = environ.get('DATABASE_NAME', "")
55
  COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files')
56
 
57
  # Verify
 
13
 
14
  # Bot information
15
  SESSION = environ.get('SESSION', 'Media_search')
16
+ API_ID = int(environ.get('API_ID', '6'))
17
+ API_HASH = environ.get('API_HASH', 'eb06d4abfb49dc3eeb1aeb98ae0f581e')
18
+ BOT_TOKEN = environ.get('BOT_TOKEN', "7510817339:AAHFZoFzPkUO_-nAwfh9bjY_qHsWMprM2PI")
19
 
20
  # Bot settings
21
  CACHE_TIME = int(environ.get('CACHE_TIME', 300))
 
50
  NO_RESULTS_MSG = bool(environ.get("NO_RESULTS_MSG", False)) # True if you want no results messages in Log Channel
51
 
52
  # MongoDB information
53
+ DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://kanhagarg930123:[email protected]/?retryWrites=true&w=majority&appName=Cluster0")
54
+ DATABASE_NAME = environ.get('DATABASE_NAME', "kanha")
55
  COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files')
56
 
57
  # Verify