diff --git a/main.py b/main.py index 36ccc21..7755995 100644 --- a/main.py +++ b/main.py @@ -4,13 +4,13 @@ import pyrogram, os, asyncio -try: app_id = int(os.environ.get("app_id", "20389440")) +try: app_id = int(os.environ.get("app_id", "24894984")) except Exception as app_id: print(f"⚠️ App ID Invalid {app_id}") -try: api_hash = os.environ.get("api_hash", "a1a06a18eb9153e9dbd447cfd5da2457") +try: api_hash = os.environ.get("api_hash", "4956e23833905463efb588eb806f9804") except Exception as api_id: print(f"⚠️ Api Hash Invalid {api_hash}") -try: bot_token = os.environ.get("bot_token", "6564513574:AAH3Y97iqQjSlV5vKKZdGDUohlhpA-LeSbw") +try: bot_token = os.environ.get("bot_token", "7328135476:AAEapfWhc4yo0jsQX_LD5cMByF3i4exUtQ0") except Exception as bot_token: print(f"⚠️ Bot Token Invalid {bot_token}") -try: custom_caption = os.environ.get("custom_caption", "`{file_name}`") +try: custom_caption = os.environ.get("custom_caption", "`{file_name}`join @Targetallcourse") except Exception as custom_caption: print(f"⚠️ Custom Caption Invalid {custom_caption}") AutoCaptionBotV1 = pyrogram.Client( @@ -20,14 +20,14 @@ 👋Hello {} I am an AutoCaption bot All you have to do is add me to your channel and I will show you my power -@VJ_Botz""" +@Targetallcourse""" about_message = """ -• Name : VJ AutoCaption -• Developer : [VJ UPDATES] +• Name : VJ AutoCaption +• Developer : [VJ UPDATES] • Language : Python3 • Library : Pyrogram v{version} -• Updates : Click Here +• Updates : Click Here • Source Code : Click Here""" @AutoCaptionBotV1.on_message(pyrogram.filters.private & pyrogram.filters.command(["start"])) @@ -77,7 +77,7 @@ def get_file_details(update: pyrogram.types.Message): def start_buttons(bot, update): bot = bot.get_me() buttons = [[ - pyrogram.types.InlineKeyboardButton("Updates", url="t.me/VJ_Botz"), + pyrogram.types.InlineKeyboardButton("Updates", url="t.me/Targetallcourse"), pyrogram.types.InlineKeyboardButton("About 🤠", callback_data="about") ],[ pyrogram.types.InlineKeyboardButton("➕️ Add To Your Channel ➕️", url=f"http://t.me/{bot.username}?startchannel=true") @@ -91,7 +91,7 @@ def about_buttons(bot, update): return pyrogram.types.InlineKeyboardMarkup(buttons) print("Telegram AutoCaption V1 Bot Start") -print("Bot Created By https://t.me/VJ_Botz") +print("Bot Created By https://t.me/Targetallcourse") AutoCaptionBotV1.run()