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):
diff --git a/config.py b/config.py
index db2417f..fae3911 100644
--- a/config.py
+++ b/config.py
@@ -13,33 +13,33 @@
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
#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", "-1002082187293"))
#OWNER ID
-OWNER_ID = int(os.environ.get("OWNER_ID", ""))
+OWNER_ID = int(os.environ.get("OWNER_ID", "5911422304"))
#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.knyuwrv.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")
-VERIFY_EXPIRE = int(os.environ.get('VERIFY_EXPIRE', 86400)) # Add time in seconds
+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","gojfsi/2")
+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", ""))
+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", "6852649461").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.")
@@ -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 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
diff --git a/plugins/cbb.py b/plugins/cbb.py
index ad39b6d..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 : 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 : @Pleasure_Realm\n○ Chat Group : @WAnime_Chat_Group",
disable_web_page_preview = True,
reply_markup = InlineKeyboardMarkup(
[
diff --git a/plugins/start.py b/plugins/start.py
index 24ba926..5500197 100644
--- a/plugins/start.py
+++ b/plugins/start.py
@@ -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/neprosz/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}')
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 24 Hour after passing the ad.", reply_markup=InlineKeyboardMarkup(btn), protect_content=False, quote=True)