diff --git a/info.py b/info.py index f227532c0..359c3d547 100644 --- a/info.py +++ b/info.py @@ -12,9 +12,9 @@ def is_enabled(value, default): # Bot information SESSION = environ.get('SESSION', 'Media_search') -API_ID = int(environ['API_ID']) -API_HASH = environ['API_HASH'] -BOT_TOKEN = environ['BOT_TOKEN'] +API_ID = int(environ['29876662']) +API_HASH = environ['44d6824fffb5f8af133b91935de2dcaa'] +BOT_TOKEN = environ['7573110232:AAHNtR-79tx0tcVzJHacPyqjvVYchWOgYS8'] # Bot settings CACHE_TIME = int(environ.get('CACHE_TIME', 300)) @@ -22,7 +22,7 @@ def is_enabled(value, default): PICS = (environ.get('PICS', 'https://telegra.ph/file/7e56d907542396289fee4.jpg https://telegra.ph/file/9aa8dd372f4739fe02d85.jpg https://telegra.ph/file/adffc5ce502f5578e2806.jpg https://telegra.ph/file/6937b60bc2617597b92fd.jpg https://telegra.ph/file/09a7abaab340143f9c7e7.jpg https://telegra.ph/file/5a82c4a59bd04d415af1c.jpg https://telegra.ph/file/323986d3bd9c4c1b3cb26.jpg https://telegra.ph/file/b8a82dcb89fb296f92ca0.jpg https://telegra.ph/file/31adab039a85ed88e22b0.jpg https://telegra.ph/file/c0e0f4c3ed53ac8438f34.jpg https://telegra.ph/file/eede835fb3c37e07c9cee.jpg https://telegra.ph/file/e17d2d068f71a9867d554.jpg https://telegra.ph/file/8fb1ae7d995e8735a7c25.jpg https://telegra.ph/file/8fed19586b4aa019ec215.jpg https://telegra.ph/file/8e6c923abd6139083e1de.jpg https://telegra.ph/file/0049d801d29e83d68b001.jpg')).split() # Admins, Channels & Users -ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()] +ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '1002376260912').split()] CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '0').split()] auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '').split()] AUTH_USERS = (auth_users + ADMINS) if auth_users else [] @@ -32,8 +32,8 @@ def is_enabled(value, default): AUTH_GROUPS = [int(ch) for ch in auth_grp.split()] if auth_grp else None # MongoDB information -DATABASE_URI = environ.get('DATABASE_URI', "") -DATABASE_NAME = environ.get('DATABASE_NAME', "LazyDeveloper") +DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://chamiudith:@chamika.inv4i.mongodb.net/?retryWrites=true&w=majority&appName=Chamika") +DATABASE_NAME = environ.get('DATABASE_NAME', "Chamika") COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files') # Others