Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VJBots authored Jun 7, 2024
1 parent 84c200c commit bac9d80
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Don't Remove Credit Tg - @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ
# Ask Doubt on telegram @KingVJ01

import requests
import json
import subprocess
Expand Down Expand Up @@ -28,8 +32,14 @@

@TechVJ.on_message(filters.command(["start"])& ~filters.edited)
async def account_login(bot: Client, m: Message):
editable = await m.reply_text("Hello im txt file downloader\nPress /pyro to download links listed in a txt file in the format **Name:link**\n\nBot made by BATMAN")

button = [[
InlineKeyboardButton("🤖 ᴜᴘᴅᴀᴛᴇ", url="https://t.me/VJ_Botz"),
InlineKeyboardButton("🔍 sᴜᴘᴘᴏʀᴛ", url="https://t.me/VJ_Bot_Disscussion")
],[
InlineKeyboardButton("👨‍💻 ᴅᴇᴠᴇʟᴏᴘᴇʀ 👨‍💻", url="https://t.me/KingVJ01")
]]
await bot.send_message(chat_id=m.from_user.id, text=f"<b>Hello {m.from_user.mention} 👋</b>\n\n I Am A Bot For Download Links From Your **.TXT** File And Then Upload That File On Telegram So Basically If You Want To Use Me First Send Me /upload Command And Then Follow The Few Steps.. And Cancel Task By - /stop or /cancel\n\n<b>Powered By : @VJ_Botz</b>", reply_markup=InlineKeyboardMarkup(button))

@TechVJ.on_message(filters.command(["cancel"]))
async def cancel(_, m):
editable = await m.reply_text("Canceling All process Plz wait")
Expand Down

0 comments on commit bac9d80

Please sign in to comment.