From 0c1591ba8862d296d78c68973c217a4f723822ed Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 15:09:12 +0530 Subject: [PATCH 01/31] Update config.py --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 6418a95b..a665785f 100644 --- a/config.py +++ b/config.py @@ -28,7 +28,7 @@ DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") #Time in seconds for message delete, put 0 to never delete -TIME = int(os.environ.get("TIME", "10")) +TIME = int(os.environ.get("TIME", "0")) #force sub channel id, if you want enable force sub @@ -45,7 +45,7 @@ # Turn this feature on or off using True or False put value inside "" # TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "True") == "True" else False +TOKEN = True if os.environ.get('TOKEN', "False") == "True" else False SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds @@ -105,4 +105,4 @@ def LOGGER(name: str) -> logging.Logger: return logging.getLogger(name) - \ No newline at end of file + From 404d9e409ffa74fa53e198093efae0094f05ba27 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 15:22:53 +0530 Subject: [PATCH 02/31] Update config.py --- config.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index a665785f..ca74dea3 100644 --- a/config.py +++ b/config.py @@ -61,11 +61,17 @@ START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") try: - ADMINS=[6376328008] - for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): + import os + +ADMINS = [7328629001] # Only your admin ID + +try: + # Remove the extra default admin list + for x in (os.environ.get("ADMINS", "").split()): ADMINS.append(int(x)) + except ValueError: - raise Exception("Your Admins list does not contain valid integers.") + raise Exception("Your Admins list does not contain valid integers.") #Force sub message FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") @@ -83,7 +89,7 @@ USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" ADMINS.append(OWNER_ID) -ADMINS.append(6497757690) +ADMINS.append(7328629001) LOG_FILE_NAME = "filesharingbot.txt" From f755ce2c9fb3ad99e2fe1b3e8aee7fea55eb0149 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 15:35:19 +0530 Subject: [PATCH 03/31] Update bot.py --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 0e697364..0211f75f 100644 --- a/bot.py +++ b/bot.py @@ -112,7 +112,7 @@ async def start(self): self.set_parse_mode(ParseMode.HTML) self.username = usr_bot_me.username - self.LOGGER(__name__).info(f"Bot Running..! Made by @Codeflix_Bots") + self.LOGGER(__name__).info(f"Bot Running..! Modify by @Cypherixsocity") # Start Web Server app = web.AppRunner(await web_server()) @@ -120,7 +120,7 @@ async def start(self): await web.TCPSite(app, "0.0.0.0", PORT).start() - try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Codeflix_Bots
") + try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Cypherixsocity
") except: pass async def stop(self, *args): From 81ab51dbcf10df593e0df531705e4ae64b77a1d3 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 15:49:58 +0530 Subject: [PATCH 04/31] Update config.py --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index ca74dea3..2bce354e 100644 --- a/config.py +++ b/config.py @@ -53,13 +53,13 @@ TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") -HELP_TXT = "
ᴛʜɪs ɪs ᴀɴ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @otakuflix_network\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├/start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├/about : ᴏᴜʀ Iɴғᴏʀᴍᴀᴛɪᴏɴ\n└/help : ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ʙᴏᴛ\n\n sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ʟɪɴᴋ ᴀɴᴅ sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴊᴏɪɴ ʙᴏᴛʜ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ ᴛʜᴀᴛs ɪᴛ.....!\n\n ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ sᴜʙᴀʀᴜ
" +HELP_TXT = "
🚀 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ғᴏʀ @cypherixsocity!\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├ /start - ꜱᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├ /about - ɪɴғᴏ ᴀʙᴏᴜᴛ ᴜꜱ\n└ /help - ʙᴏᴛ ᴜꜱᴀɢᴇ ɢᴜɪᴅᴇ\n\n📌 **ɴᴏᴛᴇ:** ᴊᴏɪɴ **ʙᴏᴛʜ** ᴄʜᴀɴɴᴇʟꜱ ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ:\n🔹 ᴄʜᴀɴɴᴇʟ: Cypherix Society\n🔹 ɢʀᴏᴜᴘ: Cypherix Chat\n\n🔥 ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ Sᴜʙᴀʀᴜ
" -ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" +ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" -START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") +START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") try: import os From 06993f78e51065ce5f68a485bfb50d0ed5a41f10 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:00:31 +0530 Subject: [PATCH 05/31] Update config.py --- config.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/config.py b/config.py index 2bce354e..c2ce88e3 100644 --- a/config.py +++ b/config.py @@ -61,18 +61,11 @@ START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") try: - import os - -ADMINS = [7328629001] # Only your admin ID - -try: - # Remove the extra default admin list - for x in (os.environ.get("ADMINS", "").split()): + ADMINS=[7328629001] + for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) - except ValueError: - raise Exception("Your Admins list does not contain valid integers.") - + raise Exception("Your Admins list does not contain valid integers.") #Force sub message FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") From bb668ae4474cac92b65e74223f238e3c781f1891 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:04:13 +0530 Subject: [PATCH 06/31] Update config.py --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index c2ce88e3..0f83a484 100644 --- a/config.py +++ b/config.py @@ -61,7 +61,7 @@ START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") try: - ADMINS=[7328629001] + ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) except ValueError: @@ -82,7 +82,7 @@ USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" ADMINS.append(OWNER_ID) -ADMINS.append(7328629001) +ADMINS.append(6376328008) LOG_FILE_NAME = "filesharingbot.txt" From 940d0ca05049826d42d0f156d15b7edf704a2b03 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:13:12 +0530 Subject: [PATCH 07/31] Update config.py --- config.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config.py b/config.py index 0f83a484..bfe18b48 100644 --- a/config.py +++ b/config.py @@ -28,7 +28,7 @@ DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") #Time in seconds for message delete, put 0 to never delete -TIME = int(os.environ.get("TIME", "0")) +TIME = int(os.environ.get("TIME", "10")) #force sub channel id, if you want enable force sub @@ -40,12 +40,12 @@ TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) -START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/ec17880d61180d3312d6a.jpg") +START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/cad7038fe82e47f79c609.jpg") FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") # Turn this feature on or off using True or False put value inside "" # TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "False") == "True" else False +TOKEN = True if os.environ.get('TOKEN', "True") == "True" else False SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds @@ -59,13 +59,13 @@ ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" -START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") -try: - ADMINS=[6376328008] +START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
")try: + ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) except ValueError: raise Exception("Your Admins list does not contain valid integers.") + #Force sub message FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") @@ -82,7 +82,7 @@ USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" ADMINS.append(OWNER_ID) -ADMINS.append(6376328008) +ADMINS.append(6497757690) LOG_FILE_NAME = "filesharingbot.txt" From 443a8c65a7aa7754adf0f0e3a46609e02aa24ebb Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:17:00 +0530 Subject: [PATCH 08/31] Update config.py --- config.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index bfe18b48..d525cf96 100644 --- a/config.py +++ b/config.py @@ -40,7 +40,7 @@ TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) -START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/cad7038fe82e47f79c609.jpg") +START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/ec17880d61180d3312d6a.jpg") FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") # Turn this feature on or off using True or False put value inside "" @@ -53,13 +53,14 @@ TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") -HELP_TXT = "
🚀 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ғᴏʀ @cypherixsocity!\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├ /start - ꜱᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├ /about - ɪɴғᴏ ᴀʙᴏᴜᴛ ᴜꜱ\n└ /help - ʙᴏᴛ ᴜꜱᴀɢᴇ ɢᴜɪᴅᴇ\n\n📌 **ɴᴏᴛᴇ:** ᴊᴏɪɴ **ʙᴏᴛʜ** ᴄʜᴀɴɴᴇʟꜱ ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ:\n🔹 ᴄʜᴀɴɴᴇʟ: Cypherix Society\n🔹 ɢʀᴏᴜᴘ: Cypherix Chat\n\n🔥 ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ Sᴜʙᴀʀᴜ
" +HELP_TXT = "
ᴛʜɪs ɪs ᴀɴ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @otakuflix_network\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├/start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├/about : ᴏᴜʀ Iɴғᴏʀᴍᴀᴛɪᴏɴ\n└/help : ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ʙᴏᴛ\n\n sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ʟɪɴᴋ ᴀɴᴅ sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴊᴏɪɴ ʙᴏᴛʜ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ ᴛʜᴀᴛs ɪᴛ.....!\n\n ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ sᴜʙᴀʀᴜ
" -ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" +ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" -START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
")try: +START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") +try: ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) From 7500e66ec191d07b48916f539bbda1489336c16e Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:19:47 +0530 Subject: [PATCH 09/31] Update config.py --- config.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/config.py b/config.py index d525cf96..987a7ef4 100644 --- a/config.py +++ b/config.py @@ -53,14 +53,12 @@ TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") -HELP_TXT = "
ᴛʜɪs ɪs ᴀɴ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @otakuflix_network\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├/start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├/about : ᴏᴜʀ Iɴғᴏʀᴍᴀᴛɪᴏɴ\n└/help : ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ʙᴏᴛ\n\n sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ʟɪɴᴋ ᴀɴᴅ sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴊᴏɪɴ ʙᴏᴛʜ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ ᴛʜᴀᴛs ɪᴛ.....!\n\n ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ sᴜʙᴀʀᴜ
" +HELP_TXT = "
🚀 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ғᴏʀ @cypherixsocity!\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├ /start - ꜱᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├ /about - ɪɴғᴏ ᴀʙᴏᴜᴛ ᴜꜱ\n└ /help - ʙᴏᴛ ᴜꜱᴀɢᴇ ɢᴜɪᴅᴇ\n\n📌 **ɴᴏᴛᴇ:** ᴊᴏɪɴ **ʙᴏᴛʜ** ᴄʜᴀɴɴᴇʟꜱ ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ:\n🔹 ᴄʜᴀɴɴᴇʟ: Cypherix Society\n🔹 ɢʀᴏᴜᴘ: Cypherix Chat\n\n🔥 ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ Sᴜʙᴀʀᴜ
" +ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" -ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" - - -START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") -try: +START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
")try: + ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) From 565324ab2e7db4142e18878d033a70864b1b4d32 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:20:31 +0530 Subject: [PATCH 10/31] Update config.py --- config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 987a7ef4..ebe2d686 100644 --- a/config.py +++ b/config.py @@ -58,8 +58,9 @@ ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
")try: - - ADMINS=[6376328008] + + try: + ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) except ValueError: From a3f2fd889111f001e03a7032ee8ce3953501ddef Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:24:13 +0530 Subject: [PATCH 11/31] Update config.py --- config.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index ebe2d686..9940c90f 100644 --- a/config.py +++ b/config.py @@ -57,9 +57,16 @@ ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" -START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\nI'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
")try: - - try: +import os + +START_MSG = os.environ.get("START_MESSAGE", """
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... + +I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. +ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂 + +🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
""") + +try: ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): ADMINS.append(int(x)) From a0219208d68de9c6c7fcc60e13bec84d6a5379c2 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:34:43 +0530 Subject: [PATCH 12/31] Update config.py --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 9940c90f..a3744c84 100644 --- a/config.py +++ b/config.py @@ -59,12 +59,12 @@ import os -START_MSG = os.environ.get("START_MESSAGE", """
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... +START_MSG = """👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... -I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. +I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂 -🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
""") +🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
""" try: ADMINS=[6376328008] From 989e74681489afa09eb35514f9008a1f69b6de1f Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:35:51 +0530 Subject: [PATCH 13/31] Update bot.py --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 0211f75f..0e697364 100644 --- a/bot.py +++ b/bot.py @@ -112,7 +112,7 @@ async def start(self): self.set_parse_mode(ParseMode.HTML) self.username = usr_bot_me.username - self.LOGGER(__name__).info(f"Bot Running..! Modify by @Cypherixsocity") + self.LOGGER(__name__).info(f"Bot Running..! Made by @Codeflix_Bots") # Start Web Server app = web.AppRunner(await web_server()) @@ -120,7 +120,7 @@ async def start(self): await web.TCPSite(app, "0.0.0.0", PORT).start() - try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Cypherixsocity
") + try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Codeflix_Bots
") except: pass async def stop(self, *args): From de4c8f1ceeca661c91cd3fb8f664a27045b0209a Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:39:24 +0530 Subject: [PATCH 14/31] Update config.py --- config.py | 253 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 141 insertions(+), 112 deletions(-) diff --git a/config.py b/config.py index a3744c84..ed66b1bf 100644 --- a/config.py +++ b/config.py @@ -1,114 +1,143 @@ -# Don't Remove Credit @CodeFlix_Bots, @rohit_1888 -# Ask Doubt on telegram @CodeflixSupport - - -import os -from os import environ,getenv -import logging -from logging.handlers import RotatingFileHandler +from aiohttp import web +from plugins import web_server +import asyncio +import pyromod.listen +from pyrogram import Client +from pyrogram.enums import ParseMode +import sys +from datetime import datetime #rohit_1888 on Tg - -#Bot token @Botfather -TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "7542241757:") -#Your API ID from my.telegram.org -APP_ID = int(os.environ.get("APP_ID", "")) -#Your API Hash from my.telegram.org -API_HASH = os.environ.get("API_HASH", "") -#Your db channel Id -CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002170811388")) -# NAMA OWNER -OWNER = os.environ.get("OWNER", "sewxiy") -#OWNER ID -OWNER_ID = int(os.environ.get("OWNER_ID", "7328629001")) -#Port -PORT = os.environ.get("PORT", "8030") -#Database -DB_URI = os.environ.get("DATABASE_URL", "") -DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") - -#Time in seconds for message delete, put 0 to never delete -TIME = int(os.environ.get("TIME", "10")) - - -#force sub channel id, if you want enable force sub -FORCE_SUB_CHANNEL1 = int(os.environ.get("FORCE_SUB_CHANNEL1", "-1002215102799")) -#put 0 to disable -FORCE_SUB_CHANNEL2 = int(os.environ.get("FORCE_SUB_CHANNEL2", "0"))#put 0 to disable -FORCE_SUB_CHANNEL3 = int(os.environ.get("FORCE_SUB_CHANNEL3", "0"))#put 0 to disable -FORCE_SUB_CHANNEL4 = int(os.environ.get("FORCE_SUB_CHANNEL4", "0"))#put 0 to disable - -TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) - -START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/ec17880d61180d3312d6a.jpg") -FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") - -# Turn this feature on or off using True or False put value inside "" -# TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "True") == "True" else False -SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") -SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") -VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds -IS_VERIFY = os.environ.get("IS_VERIFY", "True") -TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") - - -HELP_TXT = "
🚀 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ғᴏʀ @cypherixsocity!\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├ /start - ꜱᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├ /about - ɪɴғᴏ ᴀʙᴏᴜᴛ ᴜꜱ\n└ /help - ʙᴏᴛ ᴜꜱᴀɢᴇ ɢᴜɪᴅᴇ\n\n📌 **ɴᴏᴛᴇ:** ᴊᴏɪɴ **ʙᴏᴛʜ** ᴄʜᴀɴɴᴇʟꜱ ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ:\n🔹 ᴄʜᴀɴɴᴇʟ: Cypherix Society\n🔹 ɢʀᴏᴜᴘ: Cypherix Chat\n\n🔥 ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ Sᴜʙᴀʀᴜ
" - -ABOUT_TXT = "
🚀 ᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ: Cypherix Society
" - -import os - -START_MSG = """👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... - -I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. -ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂 - -🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity""" - -try: - ADMINS=[6376328008] - for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): - ADMINS.append(int(x)) -except ValueError: - raise Exception("Your Admins list does not contain valid integers.") - -#Force sub message -FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") - -#set your Custom Caption here, Keep None for Disable Custom Caption -CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "• ʙʏ @OtakuFlix_Network") - -#set True if you want to prevent users from forwarding files from bot -PROTECT_CONTENT = True if os.environ.get('PROTECT_CONTENT', "False") == "True" else False - -#Set true if you want Disable your Channel Posts Share button -DISABLE_CHANNEL_BUTTON = os.environ.get("DISABLE_CHANNEL_BUTTON", None) == 'True' - -BOT_STATS_TEXT = "BOT UPTIME\n{uptime}" -USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" - -ADMINS.append(OWNER_ID) -ADMINS.append(6497757690) - -LOG_FILE_NAME = "filesharingbot.txt" - -logging.basicConfig( - level=logging.INFO, - format="[%(asctime)s - %(levelname)s] - %(name)s - %(message)s", - datefmt='%d-%b-%y %H:%M:%S', - handlers=[ - RotatingFileHandler( - LOG_FILE_NAME, - maxBytes=50000000, - backupCount=10 - ), - logging.StreamHandler() - ] -) -logging.getLogger("pyrogram").setLevel(logging.WARNING) - - -def LOGGER(name: str) -> logging.Logger: - return logging.getLogger(name) - +from config import * + + +name =""" + BY CODEFLIX BOTS +""" + + +class Bot(Client): + def __init__(self): + super().__init__( + name="Bot", + api_hash=API_HASH, + api_id=APP_ID, + plugins={ + "root": "plugins" + }, + workers=TG_BOT_WORKERS, + bot_token=TG_BOT_TOKEN + ) + self.LOGGER = LOGGER + + async def start(self): + await super().start() + usr_bot_me = await self.get_me() + self.uptime = datetime.now() + + if FORCE_SUB_CHANNEL1: + try: + link = (await self.get_chat(FORCE_SUB_CHANNEL1)).invite_link + if not link: + await self.export_chat_invite_link(FORCE_SUB_CHANNEL1) + link = (await self.get_chat(FORCE_SUB_CHANNEL1)).invite_link + self.invitelink1 = link + except Exception as a: + self.LOGGER(__name__).warning(a) + self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") + self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL1 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL1}") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + sys.exit() + if FORCE_SUB_CHANNEL2: + try: + link = (await self.get_chat(FORCE_SUB_CHANNEL2)).invite_link + if not link: + await self.export_chat_invite_link(FORCE_SUB_CHANNEL2) + link = (await self.get_chat(FORCE_SUB_CHANNEL2)).invite_link + self.invitelink2 = link + except Exception as a: + self.LOGGER(__name__).warning(a) + self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") + self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL2 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL2}") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + sys.exit() + if FORCE_SUB_CHANNEL3: + try: + link = (await self.get_chat(FORCE_SUB_CHANNEL3)).invite_link + if not link: + await self.export_chat_invite_link(FORCE_SUB_CHANNEL3) + link = (await self.get_chat(FORCE_SUB_CHANNEL3)).invite_link + self.invitelink3 = link + except Exception as a: + self.LOGGER(__name__).warning(a) + self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") + self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL3 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL3}") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + sys.exit() + if FORCE_SUB_CHANNEL4: + try: + link = (await self.get_chat(FORCE_SUB_CHANNEL4)).invite_link + if not link: + await self.export_chat_invite_link(FORCE_SUB_CHANNEL4) + link = (await self.get_chat(FORCE_SUB_CHANNEL4)).invite_link + self.invitelink4 = link + except Exception as a: + self.LOGGER(__name__).warning(a) + self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") + self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL4 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL4}") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + sys.exit() + try: + db_channel = await self.get_chat(CHANNEL_ID) + self.db_channel = db_channel + test = await self.send_message(chat_id = db_channel.id, text = "Test Message") + await test.delete() + except Exception as e: + self.LOGGER(__name__).warning(e) + self.LOGGER(__name__).warning(f"Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value {CHANNEL_ID}") + self.LOGGER(__name__).info("\nBot Stopped. Join https://t.me/weebs_support for support") + sys.exit() + + self.set_parse_mode(ParseMode.HTML) + self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhttps://t.me/weebs_support") + self.LOGGER(__name__).info(f""" + + + ___ ___ ___ ___ ___ _ _____ _____ ___ _____ ___ + / __/ _ \| \| __| __| | |_ _\ \/ / _ )/ _ \_ _/ __| +| (_| (_) | |) | _|| _|| |__ | | > <| _ \ (_) || | \__ \ + \___\___/|___/|___|_| |____|___/_/\_\___/\___/ |_| |___/ + + + """) + + self.set_parse_mode(ParseMode.HTML) + self.username = usr_bot_me.username + self.LOGGER(__name__).info(f"Bot Running..! Made by @Codeflix_Bots") + + # Start Web Server + app = web.AppRunner(await web_server()) + await app.setup() + await web.TCPSite(app, "0.0.0.0", PORT).start() + + + try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Codeflix_Bots
") + except: pass + + async def stop(self, *args): + await super().stop() + self.LOGGER(__name__).info("Bot stopped.") + + def run(self): + """Run the bot.""" + loop = asyncio.get_event_loop() + loop.run_until_complete(self.start()) + self.LOGGER(__name__).info("Bot is now running. Thanks to @rohit_1888") + try: + loop.run_forever() + except KeyboardInterrupt: + self.LOGGER(__name__).info("Shutting down...") + finally: + loop.run_until_complete(self.stop()) + + #@rohit_1888 on Tg From 8712b0237da6fcc345b5d366036ff4499eded80a Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:40:01 +0530 Subject: [PATCH 15/31] Update config.py --- config.py | 247 +++++++++++++++++++++++------------------------------- 1 file changed, 106 insertions(+), 141 deletions(-) diff --git a/config.py b/config.py index ed66b1bf..d525cf96 100644 --- a/config.py +++ b/config.py @@ -1,143 +1,108 @@ +# Don't Remove Credit @CodeFlix_Bots, @rohit_1888 +# Ask Doubt on telegram @CodeflixSupport + + +import os +from os import environ,getenv +import logging +from logging.handlers import RotatingFileHandler -from aiohttp import web -from plugins import web_server -import asyncio -import pyromod.listen -from pyrogram import Client -from pyrogram.enums import ParseMode -import sys -from datetime import datetime #rohit_1888 on Tg -from config import * - - -name =""" - BY CODEFLIX BOTS -""" - - -class Bot(Client): - def __init__(self): - super().__init__( - name="Bot", - api_hash=API_HASH, - api_id=APP_ID, - plugins={ - "root": "plugins" - }, - workers=TG_BOT_WORKERS, - bot_token=TG_BOT_TOKEN - ) - self.LOGGER = LOGGER - - async def start(self): - await super().start() - usr_bot_me = await self.get_me() - self.uptime = datetime.now() - - if FORCE_SUB_CHANNEL1: - try: - link = (await self.get_chat(FORCE_SUB_CHANNEL1)).invite_link - if not link: - await self.export_chat_invite_link(FORCE_SUB_CHANNEL1) - link = (await self.get_chat(FORCE_SUB_CHANNEL1)).invite_link - self.invitelink1 = link - except Exception as a: - self.LOGGER(__name__).warning(a) - self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") - self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL1 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL1}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") - sys.exit() - if FORCE_SUB_CHANNEL2: - try: - link = (await self.get_chat(FORCE_SUB_CHANNEL2)).invite_link - if not link: - await self.export_chat_invite_link(FORCE_SUB_CHANNEL2) - link = (await self.get_chat(FORCE_SUB_CHANNEL2)).invite_link - self.invitelink2 = link - except Exception as a: - self.LOGGER(__name__).warning(a) - self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") - self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL2 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL2}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") - sys.exit() - if FORCE_SUB_CHANNEL3: - try: - link = (await self.get_chat(FORCE_SUB_CHANNEL3)).invite_link - if not link: - await self.export_chat_invite_link(FORCE_SUB_CHANNEL3) - link = (await self.get_chat(FORCE_SUB_CHANNEL3)).invite_link - self.invitelink3 = link - except Exception as a: - self.LOGGER(__name__).warning(a) - self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") - self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL3 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL3}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") - sys.exit() - if FORCE_SUB_CHANNEL4: - try: - link = (await self.get_chat(FORCE_SUB_CHANNEL4)).invite_link - if not link: - await self.export_chat_invite_link(FORCE_SUB_CHANNEL4) - link = (await self.get_chat(FORCE_SUB_CHANNEL4)).invite_link - self.invitelink4 = link - except Exception as a: - self.LOGGER(__name__).warning(a) - self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") - self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL4 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL4}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") - sys.exit() - try: - db_channel = await self.get_chat(CHANNEL_ID) - self.db_channel = db_channel - test = await self.send_message(chat_id = db_channel.id, text = "Test Message") - await test.delete() - except Exception as e: - self.LOGGER(__name__).warning(e) - self.LOGGER(__name__).warning(f"Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value {CHANNEL_ID}") - self.LOGGER(__name__).info("\nBot Stopped. Join https://t.me/weebs_support for support") - sys.exit() - - self.set_parse_mode(ParseMode.HTML) - self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhttps://t.me/weebs_support") - self.LOGGER(__name__).info(f""" - - - ___ ___ ___ ___ ___ _ _____ _____ ___ _____ ___ - / __/ _ \| \| __| __| | |_ _\ \/ / _ )/ _ \_ _/ __| -| (_| (_) | |) | _|| _|| |__ | | > <| _ \ (_) || | \__ \ - \___\___/|___/|___|_| |____|___/_/\_\___/\___/ |_| |___/ - - - """) - - self.set_parse_mode(ParseMode.HTML) - self.username = usr_bot_me.username - self.LOGGER(__name__).info(f"Bot Running..! Made by @Codeflix_Bots") - - # Start Web Server - app = web.AppRunner(await web_server()) - await app.setup() - await web.TCPSite(app, "0.0.0.0", PORT).start() - - - try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Codeflix_Bots
") - except: pass - - async def stop(self, *args): - await super().stop() - self.LOGGER(__name__).info("Bot stopped.") - - def run(self): - """Run the bot.""" - loop = asyncio.get_event_loop() - loop.run_until_complete(self.start()) - self.LOGGER(__name__).info("Bot is now running. Thanks to @rohit_1888") - try: - loop.run_forever() - except KeyboardInterrupt: - self.LOGGER(__name__).info("Shutting down...") - finally: - loop.run_until_complete(self.stop()) - - #@rohit_1888 on Tg + +#Bot token @Botfather +TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "7542241757:") +#Your API ID from my.telegram.org +APP_ID = int(os.environ.get("APP_ID", "")) +#Your API Hash from my.telegram.org +API_HASH = os.environ.get("API_HASH", "") +#Your db channel Id +CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002170811388")) +# NAMA OWNER +OWNER = os.environ.get("OWNER", "sewxiy") +#OWNER ID +OWNER_ID = int(os.environ.get("OWNER_ID", "7328629001")) +#Port +PORT = os.environ.get("PORT", "8030") +#Database +DB_URI = os.environ.get("DATABASE_URL", "") +DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") + +#Time in seconds for message delete, put 0 to never delete +TIME = int(os.environ.get("TIME", "10")) + + +#force sub channel id, if you want enable force sub +FORCE_SUB_CHANNEL1 = int(os.environ.get("FORCE_SUB_CHANNEL1", "-1002215102799")) +#put 0 to disable +FORCE_SUB_CHANNEL2 = int(os.environ.get("FORCE_SUB_CHANNEL2", "0"))#put 0 to disable +FORCE_SUB_CHANNEL3 = int(os.environ.get("FORCE_SUB_CHANNEL3", "0"))#put 0 to disable +FORCE_SUB_CHANNEL4 = int(os.environ.get("FORCE_SUB_CHANNEL4", "0"))#put 0 to disable + +TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) + +START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/ec17880d61180d3312d6a.jpg") +FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") + +# Turn this feature on or off using True or False put value inside "" +# TRUE for yes FALSE if no +TOKEN = True if os.environ.get('TOKEN', "True") == "True" else False +SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") +SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") +VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds +IS_VERIFY = os.environ.get("IS_VERIFY", "True") +TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") + + +HELP_TXT = "
ᴛʜɪs ɪs ᴀɴ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @otakuflix_network\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├/start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├/about : ᴏᴜʀ Iɴғᴏʀᴍᴀᴛɪᴏɴ\n└/help : ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ʙᴏᴛ\n\n sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ʟɪɴᴋ ᴀɴᴅ sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴊᴏɪɴ ʙᴏᴛʜ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ ᴛʜᴀᴛs ɪᴛ.....!\n\n ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ sᴜʙᴀʀᴜ
" + + +ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" + + +START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") +try: + ADMINS=[6376328008] + for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): + ADMINS.append(int(x)) +except ValueError: + raise Exception("Your Admins list does not contain valid integers.") + +#Force sub message +FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") + +#set your Custom Caption here, Keep None for Disable Custom Caption +CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "• ʙʏ @OtakuFlix_Network") + +#set True if you want to prevent users from forwarding files from bot +PROTECT_CONTENT = True if os.environ.get('PROTECT_CONTENT', "False") == "True" else False + +#Set true if you want Disable your Channel Posts Share button +DISABLE_CHANNEL_BUTTON = os.environ.get("DISABLE_CHANNEL_BUTTON", None) == 'True' + +BOT_STATS_TEXT = "BOT UPTIME\n{uptime}" +USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" + +ADMINS.append(OWNER_ID) +ADMINS.append(6497757690) + +LOG_FILE_NAME = "filesharingbot.txt" + +logging.basicConfig( + level=logging.INFO, + format="[%(asctime)s - %(levelname)s] - %(name)s - %(message)s", + datefmt='%d-%b-%y %H:%M:%S', + handlers=[ + RotatingFileHandler( + LOG_FILE_NAME, + maxBytes=50000000, + backupCount=10 + ), + logging.StreamHandler() + ] +) +logging.getLogger("pyrogram").setLevel(logging.WARNING) + + +def LOGGER(name: str) -> logging.Logger: + return logging.getLogger(name) + From c91e9e7a124590a63d90cdadd06646bce27014cf Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:43:15 +0530 Subject: [PATCH 16/31] Update config.py --- config.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index d525cf96..25c06fdc 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -# Don't Remove Credit @CodeFlix_Bots, @rohit_1888 + # Don't Remove Credit @CodeFlix_Bots, @rohit_1888 # Ask Doubt on telegram @CodeflixSupport @@ -59,7 +59,12 @@ ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" -START_MSG = os.environ.get("START_MESSAGE", "
ʙᴀᴋᴋᴀᴀᴀ!! {first}\n\n ɪ ᴀᴍ ғɪʟᴇ sᴛᴏʀᴇ ʙᴏᴛ, ɪ ᴄᴀɴ sᴛᴏʀᴇ ᴘʀɪᴠᴀᴛᴇ ғɪʟᴇs ɪɴ sᴘᴇᴄɪғɪᴇᴅ ᴄʜᴀɴɴᴇʟ ᴀɴᴅ ᴏᴛʜᴇʀ ᴜsᴇʀs ᴄᴀɴ ᴀᴄᴄᴇss ɪᴛ ғʀᴏᴍ sᴘᴇᴄɪᴀʟ ʟɪɴᴋ.
") +START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... + +I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. +ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂 + +🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") try: ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): From 5b204d64deaa0cc5b5d37c557a63022b3eb35d0b Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:48:00 +0530 Subject: [PATCH 17/31] Update config.py --- config.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.py b/config.py index 25c06fdc..d47d78fe 100644 --- a/config.py +++ b/config.py @@ -59,12 +59,12 @@ ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" -START_MSG = os.environ.get("START_MESSAGE", "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}... - -I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. -ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂 - -🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
") +START_MSG = os.environ.get("START_MESSAGE", + "
👋 ᴡᴇʟᴄᴏᴍᴇ, {first}...\n\n" + "I'ᴍ ʏᴏᴜʀ ᴘᴇʀsᴏɴᴀʟ ғɪʟᴇ ᴠᴇɴᴅɪɴɢ ᴍᴀᴄʜɪɴᴇ. ᴅʀᴏᴘ ᴀ ʟɪɴᴋ, ɢᴇᴛ ᴀ ғɪʟᴇ. \n" + "ɴᴏ sᴍᴀʟʟ ᴛᴀʟᴋ—ɪ’ᴍ ɴᴏᴛ ʏᴏᴜʀ ᴇx! ❌😂\n\n" + "🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
" +) try: ADMINS=[6376328008] for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): From fb72d0789476e7256be550dab5c6bfc1bd9679b7 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 16:56:15 +0530 Subject: [PATCH 18/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index d47d78fe..392510c7 100644 --- a/config.py +++ b/config.py @@ -40,7 +40,7 @@ TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) -START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/ec17880d61180d3312d6a.jpg") +START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/cad7038fe82e47f79c609.jpg") FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") # Turn this feature on or off using True or False put value inside "" From 824ac213194d3eae6fad1ff4206de123b319bed6 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 17:44:55 +0530 Subject: [PATCH 19/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 392510c7..d0d8e082 100644 --- a/config.py +++ b/config.py @@ -40,7 +40,7 @@ TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) -START_PIC = os.environ.get("START_PIC", "https://telegra.ph/file/cad7038fe82e47f79c609.jpg") +START_PIC = os.environ.get("START_PIC", "https://w.wallhaven.cc/full/6d/wallhaven-6d9qpl.png") FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") # Turn this feature on or off using True or False put value inside "" From 6854be126dde4e1489d65ff2ac3337251978268a Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 17:57:09 +0530 Subject: [PATCH 20/31] Update config.py --- config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.py b/config.py index d0d8e082..33c0ab72 100644 --- a/config.py +++ b/config.py @@ -28,7 +28,7 @@ DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") #Time in seconds for message delete, put 0 to never delete -TIME = int(os.environ.get("TIME", "10")) +TIME = int(os.environ.get("TIME", "600")) #force sub channel id, if you want enable force sub @@ -41,11 +41,11 @@ TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4")) START_PIC = os.environ.get("START_PIC", "https://w.wallhaven.cc/full/6d/wallhaven-6d9qpl.png") -FORCE_PIC = os.environ.get("FORCE_PIC", "https://telegra.ph/file/e292b12890b8b4b9dcbd1.jpg") +FORCE_PIC = os.environ.get("FORCE_PIC", "https://w.wallhaven.cc/full/gp/wallhaven-gpoovd.jpg") # Turn this feature on or off using True or False put value inside "" # TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "True") == "True" else False +TOKEN = True if os.environ.get('TOKEN', "False") == "True" else False SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds @@ -53,10 +53,10 @@ TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") -HELP_TXT = "
ᴛʜɪs ɪs ᴀɴ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @otakuflix_network\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├/start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├/about : ᴏᴜʀ Iɴғᴏʀᴍᴀᴛɪᴏɴ\n└/help : ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ʙᴏᴛ\n\n sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ʟɪɴᴋ ᴀɴᴅ sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ ᴊᴏɪɴ ʙᴏᴛʜ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ ᴛʜᴀᴛs ɪᴛ.....!\n\n ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ sᴜʙᴀʀᴜ
" +HELP_TXT = HELP_TXT = "
ᴛʜɪs ɪs ᴀ ғɪʟᴇ ᴛᴏ ʟɪɴᴋ ʙᴏᴛ ᴡᴏʀᴋ ғᴏʀ @cypherixsocity\n\n❏ ʙᴏᴛ ᴄᴏᴍᴍᴀɴᴅs\n├ /start : sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ\n├ /about : ɪɴғᴏʀᴍᴀᴛɪᴏɴ ᴀʙᴏᴜᴛ ᴛʜᴇ ʙᴏᴛ\n└ /help : ɢᴇᴛ ʜᴇʟᴘ ʀᴇʟᴀᴛᴇᴅ ᴛᴏ ʙᴏᴛ\n\n 🔹 sɪᴍᴘʟʏ ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ ʟɪɴᴋ, sᴛᴀʀᴛ ᴛʜᴇ ʙᴏᴛ, ᴊᴏɪɴ ᴛʜᴇ ʀᴇǫᴜɪʀᴇᴅ ᴄʜᴀɴɴᴇʟs, ᴀɴᴅ ᴛʀʏ ᴀɢᴀɪɴ!\n\n 🔹 ᴅᴇᴠᴇʟᴏᴘᴇᴅ ʙʏ ᴄʏᴘʜᴇʀɪx sᴏᴄɪᴛʏ
" -ABOUT_TXT = "
◈ ᴄʀᴇᴀᴛᴏʀ: subaru\n◈ ꜰᴏᴜɴᴅᴇʀ ᴏꜰ : ᴏᴛᴀᴋᴜғʟɪx ɴᴇᴛᴡᴏʀᴋ\n◈ ᴀɴɪᴍᴇ ᴄʜᴀɴɴᴇʟ : ᴀɴɪᴍᴇ ᴄʀᴜɪsᴇ\n◈ sᴇʀɪᴇs ᴄʜᴀɴɴᴇʟ : ᴡᴇʙsᴇʀɪᴇs ғʟɪx\n◈ ᴀᴅᴜʟᴛ ᴍᴀɴʜᴡᴀ : ᴘᴏʀɴʜᴡᴀs\n◈ ᴅᴇᴠᴇʟᴏᴘᴇʀ : subaru
" +ABOUT_TXT = ABOUT_TXT = "
🚀 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴄʏᴘʜᴇʀɪx sᴏᴄɪᴛʏ – ᴡʜᴇʀᴇ ᴡᴇ ᴛᴜʀɴ ᴄᴏғғᴇᴇ ɪɴᴛᴏ ᴄᴏᴅᴇ & ᴍᴇᴍᴇs ɪɴᴛᴏ ᴄᴏᴜʀsᴇs! ☕💻\n\n👨‍💻 ᴡʜᴀᴛ ᴡᴇ ᴅᴏ:\n✔ ᴡᴇʙ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ 🖥️\n✔ ᴇᴅɪᴛɪɴɢ & ᴘʀᴏᴅᴜᴄᴛɪᴏɴ 🎬\n✔ ᴄʏʙᴇʀsᴇᴄᴜʀɪᴛʏ & ᴛᴇᴄʜ ꜰᴜɴ 🤖\n✔ ᴄᴏᴜʀsᴇs ᴛʜᴀᴛ ᴀᴄᴛᴜᴀʟʟʏ ᴍᴀᴋᴇ ʏᴏᴜ sᴏᴜɴᴅ sᴍᴀʀᴛ 😆\n\n🤣 ʜᴇʀᴇ’ꜱ ᴡʜʏ ʏᴏᴜ ꜱʜᴏᴜʟᴅ ᴊᴏɪɴ:\n❌ ᴡᴇ ᴅᴏɴ'ᴛ ᴘʀᴏᴍɪsᴇ ʏᴏᴜ'ʟʟ ʙᴇᴄᴏᴍᴇ ᴇʟᴏɴ ᴍᴜꜱᴋ...\n✅ ʙᴜᴛ ʏᴏᴜ ᴡɪʟʟ ʟᴇᴀʀɴ ᴄᴏᴅɪɴɢ, ᴄʏʙᴇʀsᴇᴄ, & ᴠɪᴅᴇᴏ ᴇᴅɪᴛɪɴɢ ᴡɪᴛʜ ᴄᴏᴏʟ ᴘᴇᴏᴘʟᴇ! 😎\n\n📢 ᴊᴏɪɴ ɴᴏᴡ, ᴏʀ ʀᴇɢʀᴇᴛ ɪᴛ ᴡʜᴇɴ ʏᴏᴜ’ʀᴇ ᴛʀʏɪɴɢ ᴛᴏ ɢᴏᴏɢʟᴇ “ʜᴏᴡ ᴛᴏ ᴍᴀᴋᴇ ᴀ ᴡᴇʙsɪᴛᴇ” ᴀᴛ 3ᴀᴍ! 😂
" START_MSG = os.environ.get("START_MESSAGE", From 2e20a603925d34682c1c0c71e228f749b6a89336 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 18:11:53 +0530 Subject: [PATCH 21/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 33c0ab72..5b5076cd 100644 --- a/config.py +++ b/config.py @@ -45,7 +45,7 @@ # Turn this feature on or off using True or False put value inside "" # TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "False") == "True" else False +TOKEN = True if os.environ.get('TOKEN', "False") SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds From 86895649e1fca4c9317d0aa604b6e6df232421ba Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 18:19:17 +0530 Subject: [PATCH 22/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 5b5076cd..ed3c8887 100644 --- a/config.py +++ b/config.py @@ -28,7 +28,7 @@ DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0") #Time in seconds for message delete, put 0 to never delete -TIME = int(os.environ.get("TIME", "600")) +TIME = int(os.environ.get("TIME", "3600")) #force sub channel id, if you want enable force sub From c8c39db674e6916d9c9d9c8441bdc334f5f289cd Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 18:31:44 +0530 Subject: [PATCH 23/31] Update start.py --- plugins/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/start.py b/plugins/start.py index 48c6e0e3..5139ec5f 100644 --- a/plugins/start.py +++ b/plugins/start.py @@ -171,7 +171,7 @@ async def start_command(client: Client, message: Message): [ InlineKeyboardButton("𝗔𝗯𝗼𝘂𝘁", callback_data = "about"), - InlineKeyboardButton('𝗖𝗵𝗮𝗻𝗻𝗲𝗹𝘀', url='https://t.me/nova_flix') + InlineKeyboardButton('𝗖𝗵𝗮𝗻𝗻𝗲𝗹𝘀', url='https://t.me/cypherixsocity') ] ] From 1e9dfea0d34849dcd60978a26567c3448c18926b Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 19:08:34 +0530 Subject: [PATCH 24/31] Update config.py --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index ed3c8887..02e887ae 100644 --- a/config.py +++ b/config.py @@ -45,9 +45,9 @@ # Turn this feature on or off using True or False put value inside "" # TRUE for yes FALSE if no -TOKEN = True if os.environ.get('TOKEN', "False") -SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.online") -SHORTLINK_API = os.environ.get("SHORTLINK_API", "adabe1c0675be8ffc5ccbc84a9a65bc5a5d3ec69") +TOKEN = True if os.environ.get('TOKEN', "False") == "True" else False +SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "") +SHORTLINK_API = os.environ.get("SHORTLINK_API", "") VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 600)) # Add time in seconds IS_VERIFY = os.environ.get("IS_VERIFY", "True") TUT_VID = os.environ.get("TUT_VID","https://t.me/hwdownload/3") From b2ab185616d10fdda62a8d286fea0d1ae1ad0ed8 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 19:30:32 +0530 Subject: [PATCH 25/31] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0e697364..fdb1c9c4 100644 --- a/bot.py +++ b/bot.py @@ -112,7 +112,7 @@ async def start(self): self.set_parse_mode(ParseMode.HTML) self.username = usr_bot_me.username - self.LOGGER(__name__).info(f"Bot Running..! Made by @Codeflix_Bots") + self.LOGGER(__name__).info(f"Bot Running..! Made by @Cypherixsocity") # Start Web Server app = web.AppRunner(await web_server()) From 30662ea596da3ba5a780f72e89e3de45afb3cff4 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 19:41:00 +0530 Subject: [PATCH 26/31] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fdb1c9c4..874d6df9 100644 --- a/bot.py +++ b/bot.py @@ -120,7 +120,7 @@ async def start(self): await web.TCPSite(app, "0.0.0.0", PORT).start() - try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Codeflix_Bots
") + try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Cypherixsocity/blockquote>") except: pass async def stop(self, *args): From 3e2b090aad236f20e4d30f33087187b86ecd8e1f Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sat, 8 Mar 2025 19:46:48 +0530 Subject: [PATCH 27/31] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 874d6df9..05b9d268 100644 --- a/bot.py +++ b/bot.py @@ -120,7 +120,7 @@ async def start(self): await web.TCPSite(app, "0.0.0.0", PORT).start() - try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Cypherixsocity/blockquote>") + try: await self.send_message(OWNER_ID, text = f"
🤖 Bᴏᴛ Rᴇsᴛᴀʀᴛᴇᴅ by @Cypherixsocity
") except: pass async def stop(self, *args): From 47603e15c3261e80f3b6b7d9d192a7eeae0c5abd Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sun, 9 Mar 2025 15:57:00 +0530 Subject: [PATCH 28/31] Update config.py --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 02e887ae..7954af93 100644 --- a/config.py +++ b/config.py @@ -66,8 +66,8 @@ "🚀 ᴊᴏɪɴ ᴛʜᴇ ᴜɴᴅᴇʀɢʀᴏᴜɴᴅ: @cypherixsocity
" ) try: - ADMINS=[6376328008] - for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()): + ADMINS=[7514451812] + for x in (os.environ.get("ADMINS", "7324682529 7514451812").split()): ADMINS.append(int(x)) except ValueError: raise Exception("Your Admins list does not contain valid integers.") @@ -88,7 +88,7 @@ USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" ADMINS.append(OWNER_ID) -ADMINS.append(6497757690) +ADMINS.append(7514451812) LOG_FILE_NAME = "filesharingbot.txt" From b870ea2aa5fede6eb39103a5eab605545ada0882 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sun, 9 Mar 2025 16:02:32 +0530 Subject: [PATCH 29/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 7954af93..ed92f2a8 100644 --- a/config.py +++ b/config.py @@ -88,7 +88,7 @@ USER_REPLY_TEXT = "ʙᴀᴋᴋᴀ ! ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴍʏ ꜱᴇɴᴘᴀɪ!!" ADMINS.append(OWNER_ID) -ADMINS.append(7514451812) +ADMINS.append(6497757690) LOG_FILE_NAME = "filesharingbot.txt" From 50f445cf6e046c84f1c97129bf662bef766c95d7 Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sun, 9 Mar 2025 16:09:04 +0530 Subject: [PATCH 30/31] Update bot.py --- bot.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bot.py b/bot.py index 05b9d268..8e1bdbdb 100644 --- a/bot.py +++ b/bot.py @@ -45,7 +45,7 @@ async def start(self): self.LOGGER(__name__).warning(a) self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL1 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL1}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/cypherixsocity") sys.exit() if FORCE_SUB_CHANNEL2: try: @@ -58,7 +58,7 @@ async def start(self): self.LOGGER(__name__).warning(a) self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL2 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL2}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/cypherixsocity") sys.exit() if FORCE_SUB_CHANNEL3: try: @@ -71,7 +71,7 @@ async def start(self): self.LOGGER(__name__).warning(a) self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL3 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL3}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/cypherixsocity") sys.exit() if FORCE_SUB_CHANNEL4: try: @@ -84,7 +84,7 @@ async def start(self): self.LOGGER(__name__).warning(a) self.LOGGER(__name__).warning("Bot can't Export Invite link from Force Sub Channel!") self.LOGGER(__name__).warning(f"Please Double check the FORCE_SUB_CHANNEL4 value and Make sure Bot is Admin in channel with Invite Users via Link Permission, Current Force Sub Channel Value: {FORCE_SUB_CHANNEL4}") - self.LOGGER(__name__).info("\nBot Stopped. https://t.me/weebs_support for support") + self.LOGGER(__name__).info("\nBot Stopped. https://t.me/cypherixsocity") sys.exit() try: db_channel = await self.get_chat(CHANNEL_ID) @@ -94,11 +94,11 @@ async def start(self): except Exception as e: self.LOGGER(__name__).warning(e) self.LOGGER(__name__).warning(f"Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value {CHANNEL_ID}") - self.LOGGER(__name__).info("\nBot Stopped. Join https://t.me/weebs_support for support") + self.LOGGER(__name__).info("\nBot Stopped. Join https://t.me/cypherixsocity") sys.exit() self.set_parse_mode(ParseMode.HTML) - self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhttps://t.me/weebs_support") + self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhhttps://t.me/cypherixsocity") self.LOGGER(__name__).info(f""" @@ -112,7 +112,7 @@ async def start(self): self.set_parse_mode(ParseMode.HTML) self.username = usr_bot_me.username - self.LOGGER(__name__).info(f"Bot Running..! Made by @Cypherixsocity") + self.LOGGER(__name__).info(f"Bot Running..! Modify by @Cypherixsocity") # Start Web Server app = web.AppRunner(await web_server()) @@ -131,7 +131,7 @@ def run(self): """Run the bot.""" loop = asyncio.get_event_loop() loop.run_until_complete(self.start()) - self.LOGGER(__name__).info("Bot is now running. Thanks to @rohit_1888") + self.LOGGER(__name__).info("Bot is now running. Thanks to @cypherixsocity") try: loop.run_forever() except KeyboardInterrupt: From e2a11414e71ef601f5e5c1c895d3e1baf45c2c0b Mon Sep 17 00:00:00 2001 From: Mir Shakir Date: Sun, 9 Mar 2025 16:21:17 +0530 Subject: [PATCH 31/31] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index ed92f2a8..09f51132 100644 --- a/config.py +++ b/config.py @@ -76,7 +76,7 @@ FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "ʜᴇʟʟᴏ {first}\n\nᴊᴏɪɴ ᴏᴜʀ ᴄʜᴀɴɴᴇʟs ᴀɴᴅ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ʀᴇʟᴏᴀᴅ button ᴛᴏ ɢᴇᴛ ʏᴏᴜʀ ʀᴇǫᴜᴇꜱᴛᴇᴅ ꜰɪʟᴇ.") #set your Custom Caption here, Keep None for Disable Custom Caption -CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "• ʙʏ @OtakuFlix_Network") +CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "• ʙʏ @cypherixsocity") #set True if you want to prevent users from forwarding files from bot PROTECT_CONTENT = True if os.environ.get('PROTECT_CONTENT', "False") == "True" else False