Skip to content
Open
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
8 changes: 4 additions & 4 deletions miakhalifa/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def start(bot: Bot, update: Update, args: List[str]):
else:
send_start(bot, update)
else:
update.effective_message.reply_text("Heya,{} Here..\nHow can I help you? 🙂".format(bot.first_name),reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton(text="⚜️Help",url="t.me/{}?start=help".format(bot.username))]]))
update.effective_message.reply_text("Heya 🙋🏻‍♀️,{} Here..\nHow can I help you? 😊".format(bot.first_name),reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton(text="🗣️ Commands Explanation",url="t.me/{}?start=help".format(bot.username))]]))

def send_start(bot, update):
#Try to remove old message
Expand All @@ -175,8 +175,8 @@ def send_start(bot, update):
first_name = update.effective_user.first_name
text = PM_START_TEXT

keyboard = [[InlineKeyboardButton(text="🤖 HELP",callback_data="help_back"),InlineKeyboardButton(text="👨🏻‍💻 CREATOR",url="https://t.me/neil_arms")]]
keyboard += [[InlineKeyboardButton(text="💬 GROUP",url="https://t.me/HDCinemaChat"),InlineKeyboardButton(text="📢 CHANNEL",url="https://t.me/joinchat/AAAAAE17iykvO4VS983TiA")]]
keyboard = [[InlineKeyboardButton(text="🤖 HELP",callback_data="help_back"),InlineKeyboardButton(text="👨🏻‍💻 DEVELOPER",url="https://t.me/neil_arms")]]
keyboard += [[InlineKeyboardButton(text="🌐 CONNECT GROUP", callback_data="main_connect"),InlineKeyboardButton(text="➕ ADD ME",url="t.me/{}?startgroup=true".format(bot.username))]]

update.effective_message.reply_photo(img, PM_START_TEXT.format(escape_markdown(first_name), escape_markdown(bot.first_name), OWNER_NAME, OWNER_ID),
reply_markup=InlineKeyboardMarkup(keyboard), disable_web_page_preview=True, parse_mode=ParseMode.MARKDOWN)
Expand Down