From 816f52d5826e09803ca0c67162a62d680b26521f Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 15:49:50 +0530
Subject: [PATCH 01/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index db2417f..4a2d74e 100644
--- a/config.py
+++ b/config.py
@@ -10,7 +10,7 @@
#Bot token @Botfather
-TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
+TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6763406811:AAF6GOrWIKGdWY3nHTT3CNhcSNhF5DDkGT0")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", ""))
From 486c1ca68020b80d2d2dfc4460f09775638bdd4e Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 15:54:17 +0530
Subject: [PATCH 02/32] Update config.py
---
config.py | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/config.py b/config.py
index 4a2d74e..013d046 100644
--- a/config.py
+++ b/config.py
@@ -13,33 +13,33 @@
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6763406811:AAF6GOrWIKGdWY3nHTT3CNhcSNhF5DDkGT0")
#Your API ID from my.telegram.org
-APP_ID = int(os.environ.get("APP_ID", ""))
+APP_ID = int(os.environ.get("APP_ID", "18196402"))
#Your API Hash from my.telegram.org
-API_HASH = os.environ.get("API_HASH", "")
+API_HASH = os.environ.get("API_HASH", "a184b91d39fc85265e232e7c323fac45")
#Your db channel Id
-CHANNEL_ID = int(os.environ.get("CHANNEL_ID", ""))
+CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1001752153186"))
#OWNER ID
-OWNER_ID = int(os.environ.get("OWNER_ID", ""))
+OWNER_ID = int(os.environ.get("OWNER_ID", "1163318744"))
#Port
PORT = os.environ.get("PORT", "8080")
#Database
-DB_URI = "mongodb+srv://susantamusic:susantabhan@cluster0.5pwi1py.mongodb.net/?retryWrites=true&w=majority"
+DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.wwx1vtg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
-SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "moneycase.link")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "710b7ed8fdc5f89e9036000cc10121921e7732f1")
+SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "44e602c353757a34ebafc1604088d46430f536d")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
-TUT_VID = os.environ.get("TUT_VID","gojfsi/2")
+TUT_VID = os.environ.get("TUT_VID","Yukki_Database/2")
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", ""))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002002522240"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
@@ -47,7 +47,7 @@
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
- for x in (os.environ.get("ADMINS", "6852649461").split()):
+ for x in (os.environ.get("ADMINS", "2067141797 1163318744 5911422304").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
@@ -56,7 +56,7 @@
FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "Hello {first}\n\nYou need to join in my Channel/Group to use me\n\nKindly Please join Channel")
#set your Custom Caption here, Keep None for Disable Custom Caption
-CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "This video/Photo/anything is available on the internet. We LeakHubd or its subsidiary channel doesn't produce any of them.")
+CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "This video/Photo/anything is available on the internet. We Extra Hots or its subsidiary channel doesn't produce any of them.")
#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
From 692aa2bc588f23e19c9f1dfbd79bbe25416cf688 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 15:58:08 +0530
Subject: [PATCH 03/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 013d046..35a7031 100644
--- a/config.py
+++ b/config.py
@@ -32,7 +32,7 @@
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "44e602c353757a34ebafc1604088d46430f536d")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "744e602c353757a34ebafc1604088d46430f536d")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","Yukki_Database/2")
From b7232fd827d88f33d2b5f552b41338b1c7fe1169 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 16:08:11 +0530
Subject: [PATCH 04/32] Update cbb.py
---
plugins/cbb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/cbb.py b/plugins/cbb.py
index ad39b6d..e01de35 100644
--- a/plugins/cbb.py
+++ b/plugins/cbb.py
@@ -10,7 +10,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
data = query.data
if data == "about":
await query.message.edit_text(
- text = f"○ Creator : This Person\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @susanta_bhandarii\n○ Support Group : @susanta_support",
+ text = f"○ Creator : Katagiri Yuuichi\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @Adult_Unity\n○ Chat Group : @WEEBSUNITY",
disable_web_page_preview = True,
reply_markup = InlineKeyboardMarkup(
[
From da469b3387c67ee8b4aeaaba6b1fa7128618c2f1 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 16:11:28 +0530
Subject: [PATCH 05/32] Update cbb.py
---
plugins/cbb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/cbb.py b/plugins/cbb.py
index e01de35..1913279 100644
--- a/plugins/cbb.py
+++ b/plugins/cbb.py
@@ -10,7 +10,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
data = query.data
if data == "about":
await query.message.edit_text(
- text = f"○ Creator : Katagiri Yuuichi\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @Adult_Unity\n○ Chat Group : @WEEBSUNITY",
+ text = f"○ Creator : Katagiri Yuuichi\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @Adult_Unity\n○ Chat Group : @WEEBSUNITY",
disable_web_page_preview = True,
reply_markup = InlineKeyboardMarkup(
[
From bfb65ec4cafea033c1ea291af6df2c1f3e0f58fa Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Thu, 4 Apr 2024 16:29:13 +0530
Subject: [PATCH 06/32] 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 24ba926..14d023a 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/neprosz/3"
+ full_tut_url = f"https://t.me/Nickey_FileBot?start=Z2V0LTE0NjQ4Mzc3ODc1NTQ0NTgw"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
From ba28e10858b52e05097249c946b6f5b04c68702a Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:09:46 +0530
Subject: [PATCH 07/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 35a7031..5fe05fe 100644
--- a/config.py
+++ b/config.py
@@ -39,7 +39,7 @@
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002002522240"))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002144666669"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
From e384627e28126ca0f5fadc13ba1a46fda049536e Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:26:52 +0530
Subject: [PATCH 08/32] Update config.py
---
config.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.py b/config.py
index 5fe05fe..8983ff3 100644
--- a/config.py
+++ b/config.py
@@ -10,7 +10,7 @@
#Bot token @Botfather
-TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6763406811:AAF6GOrWIKGdWY3nHTT3CNhcSNhF5DDkGT0")
+TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6791024952:AAHG0drBbUoAjEOSdYzXUHmkfH-3UzeTmQ0")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", "18196402"))
@@ -28,7 +28,7 @@
PORT = os.environ.get("PORT", "8080")
#Database
-DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.wwx1vtg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
+DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.knyuwrv.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
From 19df2cfa9e23ce2e7b4b38cebc65274c6e62010f Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:28:04 +0530
Subject: [PATCH 09/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 8983ff3..58f8bdb 100644
--- a/config.py
+++ b/config.py
@@ -19,7 +19,7 @@
API_HASH = os.environ.get("API_HASH", "a184b91d39fc85265e232e7c323fac45")
#Your db channel Id
-CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1001752153186"))
+CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002082187293"))
#OWNER ID
OWNER_ID = int(os.environ.get("OWNER_ID", "1163318744"))
From 623e6b922fc826ece78bb0c4b2ec2deb96c5abf2 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:38:55 +0530
Subject: [PATCH 10/32] Update config.py
---
config.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.py b/config.py
index 58f8bdb..453d48d 100644
--- a/config.py
+++ b/config.py
@@ -35,11 +35,11 @@
SHORTLINK_API = os.environ.get("SHORTLINK_API", "744e602c353757a34ebafc1604088d46430f536d")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
-TUT_VID = os.environ.get("TUT_VID","Yukki_Database/2")
+TUT_VID = os.environ.get("TUT_VID","Alina_Database/2")
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002144666669"))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002000226877"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
@@ -47,7 +47,7 @@
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
- for x in (os.environ.get("ADMINS", "2067141797 1163318744 5911422304").split()):
+ for x in (os.environ.get("ADMINS", "5995342026 1163318744 5911422304").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
From b2a0eb34fe310d1f46251899b6ca9cecc6ff957f Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:44:24 +0530
Subject: [PATCH 11/32] Update config.py
---
config.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.py b/config.py
index 453d48d..337636e 100644
--- a/config.py
+++ b/config.py
@@ -31,9 +31,9 @@
DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.knyuwrv.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
-SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "744e602c353757a34ebafc1604088d46430f536d")
-VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
+SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.com")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "0b587e3b234144025200974459d559ee2f868fe7")
+VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","Alina_Database/2")
@@ -56,7 +56,7 @@
FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "Hello {first}\n\nYou need to join in my Channel/Group to use me\n\nKindly Please join Channel")
#set your Custom Caption here, Keep None for Disable Custom Caption
-CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "This video/Photo/anything is available on the internet. We Extra Hots or its subsidiary channel doesn't produce any of them.")
+CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", "This video/Photo/anything is available on the internet. We Pleasure Realm or its subsidiary channel doesn't produce any of them.")
#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
From c69f10c4b3bac1a53e71c07404e459c4f2188f1d Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:53:28 +0530
Subject: [PATCH 12/32] Update start.py
---
plugins/start.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index 14d023a..a86e562 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -61,7 +61,7 @@ async def start_command(client: Client, message: Message):
await update_verify_status(id, is_verified=True, verified_time=time.time())
if verify_status["link"] == "":
reply_markup = None
- await message.reply(f"Your token successfully verified and valid for: 24 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
+ await message.reply(f"Your token successfully verified and valid for: 12 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
elif len(message.text) > 7 and verify_status['is_verified']:
try:
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Nickey_FileBot?start=Z2V0LTE0NjQ4Mzc3ODc1NTQ0NTgw"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/2"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
@@ -149,7 +149,7 @@ async def start_command(client: Client, message: Message):
[InlineKeyboardButton("Click here", url=link)],
[InlineKeyboardButton('How to use the bot', url=full_tut_url)]
]
- await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 24 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
+ await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 12 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
# ... (rest of the code remains unchanged))
From b040cfa7ec53f0cbbada2ae54c527e8c29f88e66 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 18:54:52 +0530
Subject: [PATCH 13/32] Update cbb.py
---
plugins/cbb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/cbb.py b/plugins/cbb.py
index 1913279..38a704a 100644
--- a/plugins/cbb.py
+++ b/plugins/cbb.py
@@ -10,7 +10,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
data = query.data
if data == "about":
await query.message.edit_text(
- text = f"○ Creator : Katagiri Yuuichi\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @Adult_Unity\n○ Chat Group : @WEEBSUNITY",
+ text = f"○ Creator : Katagiri Yuuichi\n○ Language : Python3\n○ Library : Pyrogram asyncio {__version__}\n○ Source Code : Click here\n○ Channel : @Pleasure_Realm\n○ Chat Group : @WAnime_Chat_Group",
disable_web_page_preview = True,
reply_markup = InlineKeyboardMarkup(
[
From 07bf55ddf51b51fd8cbbc16583958f3218e74bc9 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sat, 27 Apr 2024 19:05:07 +0530
Subject: [PATCH 14/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 337636e..308678a 100644
--- a/config.py
+++ b/config.py
@@ -47,7 +47,7 @@
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
- for x in (os.environ.get("ADMINS", "5995342026 1163318744 5911422304").split()):
+ for x in (os.environ.get("ADMINS", "5995342026 1163318744 5911422304 5686576026").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
From 3c136a3092ab0cf1078f5e8d815445fd860820a8 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 12 May 2024 17:42:51 +0530
Subject: [PATCH 15/32] Update start.py
---
plugins/start.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index a86e562..154b87a 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -61,7 +61,7 @@ async def start_command(client: Client, message: Message):
await update_verify_status(id, is_verified=True, verified_time=time.time())
if verify_status["link"] == "":
reply_markup = None
- await message.reply(f"Your token successfully verified and valid for: 12 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
+ await message.reply(f"Your token successfully verified and valid for: 24 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
elif len(message.text) > 7 and verify_status['is_verified']:
try:
@@ -149,7 +149,7 @@ async def start_command(client: Client, message: Message):
[InlineKeyboardButton("Click here", url=link)],
[InlineKeyboardButton('How to use the bot', url=full_tut_url)]
]
- await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 12 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
+ await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 24 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
# ... (rest of the code remains unchanged))
From 5520d370c08d3481a949c9c1c074641912b8bedb Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 12 May 2024 17:44:30 +0530
Subject: [PATCH 16/32] Update config.py
---
config.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.py b/config.py
index 308678a..f1405c0 100644
--- a/config.py
+++ b/config.py
@@ -33,9 +33,9 @@
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.com")
SHORTLINK_API = os.environ.get("SHORTLINK_API", "0b587e3b234144025200974459d559ee2f868fe7")
-VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
+VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 85400)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
-TUT_VID = os.environ.get("TUT_VID","Alina_Database/2")
+TUT_VID = os.environ.get("TUT_VID","")
#force sub channel id, if you want enable force sub
From 84bdb8ee681110ded5cbdc95d7ec62b04dc3f050 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 12 May 2024 17:47:25 +0530
Subject: [PATCH 17/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index f1405c0..0e504d8 100644
--- a/config.py
+++ b/config.py
@@ -10,7 +10,7 @@
#Bot token @Botfather
-TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6791024952:AAHG0drBbUoAjEOSdYzXUHmkfH-3UzeTmQ0")
+TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", "18196402"))
From 5320ad09b53f861416c803211d0f0d689634e591 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 12 May 2024 17:48:44 +0530
Subject: [PATCH 18/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 0e504d8..d2ac34d 100644
--- a/config.py
+++ b/config.py
@@ -33,7 +33,7 @@
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.com")
SHORTLINK_API = os.environ.get("SHORTLINK_API", "0b587e3b234144025200974459d559ee2f868fe7")
-VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 85400)) # Add time in seconds
+VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","")
From c45d320982686655e7f9de19860a7a098fbd624b Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 12 May 2024 17:49:54 +0530
Subject: [PATCH 19/32] 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 154b87a..5aa9c07 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/2"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/3"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
From c7e22617796715a8be19bc1f2414be3a1e3520d7 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Fri, 24 May 2024 15:16:38 +0530
Subject: [PATCH 20/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index d2ac34d..20fa67d 100644
--- a/config.py
+++ b/config.py
@@ -33,7 +33,7 @@
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.com")
SHORTLINK_API = os.environ.get("SHORTLINK_API", "0b587e3b234144025200974459d559ee2f868fe7")
-VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
+VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","")
From 74991c7d1b16ef69358cdd971f641bbce8293293 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Fri, 24 May 2024 15:19:27 +0530
Subject: [PATCH 21/32] Update start.py
---
plugins/start.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index 5aa9c07..33669e1 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/3"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/2"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
@@ -149,7 +149,7 @@ async def start_command(client: Client, message: Message):
[InlineKeyboardButton("Click here", url=link)],
[InlineKeyboardButton('How to use the bot', url=full_tut_url)]
]
- await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 24 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
+ await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 12 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
# ... (rest of the code remains unchanged))
From a209ae58b278c4fdf93302d6cebc35b0ace56fe9 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Fri, 31 May 2024 17:11:55 +0530
Subject: [PATCH 22/32] Update config.py
---
config.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/config.py b/config.py
index 20fa67d..f339758 100644
--- a/config.py
+++ b/config.py
@@ -19,7 +19,7 @@
API_HASH = os.environ.get("API_HASH", "a184b91d39fc85265e232e7c323fac45")
#Your db channel Id
-CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002082187293"))
+CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1001752153186"))
#OWNER ID
OWNER_ID = int(os.environ.get("OWNER_ID", "1163318744"))
@@ -28,18 +28,18 @@
PORT = os.environ.get("PORT", "8080")
#Database
-DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.knyuwrv.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
+DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.wwx1vtg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
-SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "publicearn.com")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "0b587e3b234144025200974459d559ee2f868fe7")
+SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "744e602c353757a34ebafc1604088d46430f536d")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","")
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002000226877"))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002144666669"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
From 9ef587134491a54471267c3122d2c8422080c5b4 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Fri, 31 May 2024 17:15:25 +0530
Subject: [PATCH 23/32] Update start.py
---
plugins/start.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index 33669e1..e1ef117 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -61,7 +61,7 @@ async def start_command(client: Client, message: Message):
await update_verify_status(id, is_verified=True, verified_time=time.time())
if verify_status["link"] == "":
reply_markup = None
- await message.reply(f"Your token successfully verified and valid for: 24 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
+ await message.reply(f"Your token successfully verified and valid for: 12 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
elif len(message.text) > 7 and verify_status['is_verified']:
try:
@@ -141,13 +141,13 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/2"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/4"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
btn = [
[InlineKeyboardButton("Click here", url=link)],
- [InlineKeyboardButton('How to use the bot', url=full_tut_url)]
+ [InlineKeyboardButton('How to use the bot?', url=full_tut_url)]
]
await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 12 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
From 26df0d186625d64f534042b8b1a61f1ee0ce592d Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 9 Jun 2024 16:29:00 +0530
Subject: [PATCH 24/32] Update config.py
---
config.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/config.py b/config.py
index f339758..20d436b 100644
--- a/config.py
+++ b/config.py
@@ -19,7 +19,7 @@
API_HASH = os.environ.get("API_HASH", "a184b91d39fc85265e232e7c323fac45")
#Your db channel Id
-CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1001752153186"))
+CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "0"))
#OWNER ID
OWNER_ID = int(os.environ.get("OWNER_ID", "1163318744"))
@@ -28,18 +28,18 @@
PORT = os.environ.get("PORT", "8080")
#Database
-DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.wwx1vtg.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
+DB_URI = "0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
-SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "744e602c353757a34ebafc1604088d46430f536d")
+SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","")
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002144666669"))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
@@ -47,7 +47,7 @@
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
- for x in (os.environ.get("ADMINS", "5995342026 1163318744 5911422304 5686576026").split()):
+ for x in (os.environ.get("ADMINS", "").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
From 19330faa4f84e7594a0dc62797e2208a47f770d7 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 9 Jun 2024 16:35:20 +0530
Subject: [PATCH 25/32] Update config.py
---
config.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/config.py b/config.py
index 20d436b..0adf137 100644
--- a/config.py
+++ b/config.py
@@ -10,7 +10,7 @@
#Bot token @Botfather
-TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
+TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6791024952:AAHG0drBbUoAjEOSdYzXUHmkfH-3UzeTmQ0")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", "18196402"))
@@ -22,7 +22,7 @@
CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "0"))
#OWNER ID
-OWNER_ID = int(os.environ.get("OWNER_ID", "1163318744"))
+OWNER_ID = int(os.environ.get("OWNER_ID", "5911422304"))
#Port
PORT = os.environ.get("PORT", "8080")
@@ -31,15 +31,15 @@
DB_URI = "0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
-SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "")
-SHORTLINK_API = os.environ.get("SHORTLINK_API", "")
+SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
+SHORTLINK_API = os.environ.get("SHORTLINK_API", "76fc51ee2ba9f3fd0b5ae1767ac26e0ba7f84792")
VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 43200)) # Add time in seconds
IS_VERIFY = os.environ.get("IS_VERIFY", "True")
TUT_VID = os.environ.get("TUT_VID","")
#force sub channel id, if you want enable force sub
-FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0"))
+FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002000226877"))
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
@@ -47,7 +47,7 @@
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
- for x in (os.environ.get("ADMINS", "").split()):
+ for x in (os.environ.get("ADMINS", "5911422304 5686576026 5995342026").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
From 82370db8fb45ec8a59b75756a04ffe9ac3149290 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 9 Jun 2024 16:36:39 +0530
Subject: [PATCH 26/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 0adf137..4c81fc0 100644
--- a/config.py
+++ b/config.py
@@ -19,7 +19,7 @@
API_HASH = os.environ.get("API_HASH", "a184b91d39fc85265e232e7c323fac45")
#Your db channel Id
-CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "0"))
+CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002082187293"))
#OWNER ID
OWNER_ID = int(os.environ.get("OWNER_ID", "5911422304"))
From e7c473032e197ec4143471ae21ab8710c102c3da Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Sun, 9 Jun 2024 16:38:48 +0530
Subject: [PATCH 27/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 4c81fc0..9869555 100644
--- a/config.py
+++ b/config.py
@@ -28,7 +28,7 @@
PORT = os.environ.get("PORT", "8080")
#Database
-DB_URI = "0"
+DB_URI = "mongodb+srv://naibansari987:Yuuichi@cluster0.knyuwrv.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
SHORTLINK_URL = os.environ.get("SHORTLINK_URL", "linkshortify.com")
From fc39e07cd48e8f2ec33c2ed34424f8c4b4bd45ce Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Tue, 18 Jun 2024 15:21:00 +0530
Subject: [PATCH 28/32] Update start.py
---
plugins/start.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/plugins/start.py b/plugins/start.py
index e1ef117..4204dc2 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -61,7 +61,7 @@ async def start_command(client: Client, message: Message):
await update_verify_status(id, is_verified=True, verified_time=time.time())
if verify_status["link"] == "":
reply_markup = None
- await message.reply(f"Your token successfully verified and valid for: 12 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
+ await message.reply(f"Your token successfully verified and valid for: 24 Hour", reply_markup=reply_markup, protect_content=False, quote=True)
elif len(message.text) > 7 and verify_status['is_verified']:
try:
@@ -141,15 +141,15 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/4"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/3"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
btn = [
- [InlineKeyboardButton("Click here", url=link)],
- [InlineKeyboardButton('How to use the bot?', url=full_tut_url)]
+ [InlineKeyboardButton("Click Here", url=link)],
+ [InlineKeyboardButton('How To Use The Bot ?', url=full_tut_url)]
]
- await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 12 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
+ await message.reply(f"Your Ads token is expired, refresh your token and try again.\n\nToken Timeout: {get_exp_time(VERIFY_EXPIRE)}\n\nWhat is the token?\n\nThis is an ads token. If you pass 1 ad, you can use the bot for 24 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)
# ... (rest of the code remains unchanged))
From 43b1b256f803eb9c2f9f2b3075013a9b18e26bca Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Tue, 18 Jun 2024 15:22:38 +0530
Subject: [PATCH 29/32] Update config.py
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.py b/config.py
index 9869555..fae3911 100644
--- a/config.py
+++ b/config.py
@@ -10,7 +10,7 @@
#Bot token @Botfather
-TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "6791024952:AAHG0drBbUoAjEOSdYzXUHmkfH-3UzeTmQ0")
+TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", "18196402"))
From 96cd6c70ddd32b4d98cbffdd56139fa59686b1a8 Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Wed, 19 Jun 2024 13:14:13 +0530
Subject: [PATCH 30/32] 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 4204dc2..1095bec 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/3"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/4"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
From af38469e0c28be586b786b1cf3fe63d2c86959cc Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Wed, 19 Jun 2024 13:34:49 +0530
Subject: [PATCH 31/32] 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 1095bec..5500197 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -141,7 +141,7 @@ async def start_command(client: Client, message: Message):
verify_status = await get_verify_status(id)
if IS_VERIFY and not verify_status['is_verified']:
short_url = f"api.shareus.io"
- full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/4"
+ full_tut_url = f"https://t.me/Pleasure_Realm_Tutorial/2"
token = ''.join(random.choices(string.ascii_letters + string.digits, k=10))
await update_verify_status(id, verify_token=token, link="")
link = await get_shortlink(SHORTLINK_URL, SHORTLINK_API,f'https://telegram.dog/{client.username}?start=verify_{token}')
From ce33ae0a0f43484fdc5784a6eccff7395532b80f Mon Sep 17 00:00:00 2001
From: YuuichiSama <142111069+YuuichiSama@users.noreply.github.com>
Date: Fri, 21 Jun 2024 14:12:54 +0530
Subject: [PATCH 32/32] Update bot.py
---
bot.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bot.py b/bot.py
index 538948c..3debe10 100644
--- a/bot.py
+++ b/bot.py
@@ -10,6 +10,9 @@
from datetime import datetime
from config import API_HASH, APP_ID, LOGGER, TG_BOT_TOKEN, TG_BOT_WORKERS, FORCE_SUB_CHANNEL, CHANNEL_ID, PORT
+import pyrogram.utils
+
+pyrogram.utils.MIN_CHANNEL_ID = -1009147483647
class Bot(Client):
def __init__(self):