From 073d68b841ee17af6bda86dcecc3d9ea92a4d900 Mon Sep 17 00:00:00 2001 From: Alonehubb Date: Thu, 7 Nov 2024 09:12:27 +0530 Subject: [PATCH] Update config.py --- config.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config.py b/config.py index b6b850d..6bf6063 100644 --- a/config.py +++ b/config.py @@ -5,18 +5,18 @@ -BOT_TOKEN = os.environ.get("BOT_TOKEN", "") -API_ID = int(os.environ.get("API_ID", "")) -API_HASH = os.environ.get("API_HASH", "") +BOT_TOKEN = os.environ.get("BOT_TOKEN", "7926099572:AAGWcHlnUW43NkDLL6d3SjRHMQFvXzhMbQg") +API_ID = int(os.environ.get("API_ID", "20901045")) +API_HASH = os.environ.get("API_HASH", "dec03cafafbd892b285499762a896082") -OWNER_ID = int(os.environ.get("OWNER_ID", "")) -DB_URL = os.environ.get("DB_URL", "") +OWNER_ID = int(os.environ.get("OWNER_ID", "6324457826")) +DB_URL = os.environ.get("DB_URL", "mongodb+srv://POPBETA:POPBETA@cluster0.vhljb.mongodb.net/?retryWrites=true&w=majority") DB_NAME = os.environ.get("DB_NAME", "madflixbotz") -CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "")) -FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0")) +CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002233160226")) +FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002199891363")) FILE_AUTO_DELETE = int(os.getenv("FILE_AUTO_DELETE", "600")) # auto delete in seconds @@ -28,8 +28,8 @@ try: - ADMINS=[6848088376] - for x in (os.environ.get("ADMINS", "6848088376").split()): + ADMINS=[6324457826] + for x in (os.environ.get("ADMINS", "6324457826").split()): ADMINS.append(int(x)) except ValueError: raise Exception("Your Admins list does not contain valid integers.") @@ -67,7 +67,7 @@ ADMINS.append(OWNER_ID) -ADMINS.append(6848088376) +ADMINS.append(6324457826) LOG_FILE_NAME = "filesharingbot.txt"