diff --git a/config.py b/config.py index 46fc85f60..e0f5c7a7a 100644 --- a/config.py +++ b/config.py @@ -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") diff --git a/devgagan/core/func.py b/devgagan/core/func.py index 2ef512ac6..f5b005eac 100644 --- a/devgagan/core/func.py +++ b/devgagan/core/func.py @@ -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): diff --git a/devgagan/modules/start.py b/devgagan/modules/start.py index 2fe0a1659..4a5d7a7cf 100644 --- a/devgagan/modules/start.py +++ b/devgagan/modules/start.py @@ -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" @@ -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) @@ -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" @@ -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) @@ -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)