Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
# write here yt cookies
"""

API_ID = int(getenv("API_ID", ""))
API_HASH = getenv("API_HASH", "")
API_ID = int(getenv("API_ID", "25331263"))
API_HASH = getenv("API_HASH", "cab85305bf85125a2ac053210bcd1030")
BOT_TOKEN = getenv("BOT_TOKEN", "")
OWNER_ID = list(map(int, getenv("OWNER_ID", "").split()))
MONGO_DB = getenv("MONGO_DB", "")
LOG_GROUP = getenv("LOG_GROUP", "")
CHANNEL_ID = int(getenv("CHANNEL_ID", ""))
OWNER_ID = list(map(int, getenv("OWNER_ID", "1955406483").split()))
MONGO_DB = getenv("MONGO_DB", "mongodb+srv://rs92573993688:pVf4EeDuRi2o92ex@cluster0.9u29q.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
LOG_GROUP = getenv("LOG_GROUP", "https://t.me/beniwalbots")
CHANNEL_ID = int(getenv("CHANNEL_ID", "-1002888391802"))
FREEMIUM_LIMIT = int(getenv("FREEMIUM_LIMIT", "0"))
PREMIUM_LIMIT = int(getenv("PREMIUM_LIMIT", "500"))
WEBSITE_URL = getenv("WEBSITE_URL", "upshrink.com")
Expand Down
6 changes: 3 additions & 3 deletions devgagan/core/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ async def subscribe(app, message):
try:
user = await app.get_chat_member(update_channel, message.from_user.id)
if user.status == "kicked":
await message.reply_text("You are Banned. Contact -- @devgaganin")
await message.reply_text("You are Banned. Contact -- @arsh_beniwal")
return 1
except UserNotParticipant:
caption = f"Join our channel to use the bot"
await message.reply_photo(photo="https://graph.org/file/d44f024a08ded19452152.jpg",caption=caption, reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Join Now...", url=f"{url}")]]))
await message.reply_photo(photo="https://files.catbox.moe/w10e8w.jpg",caption=caption, reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Join Now...", url=f"{url}")]]))
return 1
except Exception:
await message.reply_text("Something Went Wrong. Contact us @devgaganin...")
await message.reply_text("Something Went Wrong. Contact us @arsh_beniwal...")
return 1
async def get_seconds(time_string):
def extract_value_and_unit(ts):
Expand Down
10 changes: 5 additions & 5 deletions devgagan/modules/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async def terms(client, message):
@app.on_message(filters.command("plan") & filters.private)
async def plan(client, message):
plan_text = (
"> 💰 **Premium Price**:\n\n Starting from $2 or 200 INR accepted via **__Amazon Gift Card__** (terms and conditions apply).\n"
"> 💰 **Premium Price**:\n\n Starting from $1 or 69 INR accepted via **__Amazon Gift Card__** (terms and conditions apply).\n"
"📥 **Download Limit**: Users can download up to 100,000 files in a single batch command.\n"
"🛑 **Batch**: You will get two modes /bulk and /batch.\n"
" - Users are advised to wait for the process to automatically cancel before proceeding with any downloads or uploads.\n\n"
Expand All @@ -202,7 +202,7 @@ async def plan(client, message):
buttons = InlineKeyboardMarkup(
[
[InlineKeyboardButton("📜 See Terms", callback_data="see_terms")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/kingofpatal")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/arsh_beniwal")],
]
)
await message.reply_text(plan_text, reply_markup=buttons)
Expand All @@ -211,7 +211,7 @@ async def plan(client, message):
@app.on_callback_query(filters.regex("see_plan"))
async def see_plan(client, callback_query):
plan_text = (
"> 💰**Premium Price**\n\n Starting from $2 or 200 INR accepted via **__Amazon Gift Card__** (terms and conditions apply).\n"
"> 💰**Premium Price**\n\n Starting from $1 or 69 INR accepted via **__Amazon Gift Card__** (terms and conditions apply).\n"
"📥 **Download Limit**: Users can download up to 100,000 files in a single batch command.\n"
"🛑 **Batch**: You will get two modes /bulk and /batch.\n"
" - Users are advised to wait for the process to automatically cancel before proceeding with any downloads or uploads.\n\n"
Expand All @@ -221,7 +221,7 @@ async def see_plan(client, callback_query):
buttons = InlineKeyboardMarkup(
[
[InlineKeyboardButton("📜 See Terms", callback_data="see_terms")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/kingofpatal")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/arsh_beniwal")],
]
)
await callback_query.message.edit_text(plan_text, reply_markup=buttons)
Expand All @@ -239,7 +239,7 @@ async def see_terms(client, callback_query):
buttons = InlineKeyboardMarkup(
[
[InlineKeyboardButton("📋 See Plans", callback_data="see_plan")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/kingofpatal")],
[InlineKeyboardButton("💬 Contact Now", url="https://t.me/arsh_beniwal")],
]
)
await callback_query.message.edit_text(terms_text, reply_markup=buttons)
Expand Down