Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
InukaAsith authored Nov 5, 2020
1 parent c7919cb commit bf65635
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions emilia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

PM_START_TEXT = "start_text"

DAISY_IMG = "https://telegra.ph/file/4be7c7a8a1a9f50b73d21.jpg"

HELP_STRINGS = "help_text"#.format(dispatcher.bot.first_name, "" if not ALLOW_EXCL else "\nAll commands can either be used with / or !.\n")

DONATE_STRING = "donate_text"
Expand Down Expand Up @@ -145,11 +147,12 @@ def start(update, context):
else:
first_name = update.effective_user.first_name
buttons = InlineKeyboardMarkup(
[[InlineKeyboardButton(text="πŸŽ‰ Add me to your group", url="https://t.me/{}?startgroup=new".format(context.bot.username))],
[
[InlineKeyboardButton(text="πŸ’­ Language", callback_data="main_setlang"), InlineKeyboardButton(text="βš™οΈ Connect Group", callback_data="main_connect")],
[InlineKeyboardButton(text="πŸ‘₯ Support Group", url="https://t.me/EmiliaOfficial"), InlineKeyboardButton(text="πŸ”” Update Channel", url="https://t.me/AyraBotNews")],
[InlineKeyboardButton(text="❓ Help", url="https://t.me/{}?start=help".format(context.bot.username)), InlineKeyboardButton(text="πŸ’– Donate", url="http://ayrahikari.github.io/donations.html")]])
update.effective_message.reply_text(
[InlineKeyboardButton(text="πŸ‘₯ Support Group", url="https://t.me/Infinityje"), InlineKeyboardButton(text="πŸ”” Update Channel", url="https://t.me/infje")],
[InlineKeyboardButton(text="❓ Help", url="https://t.me/{}?start=help".format(context.bot.username)), InlineKeyboardButton(text="πŸ’– About Developer", url="https://visi.tk/inukaasith")],
[InlineKeyboardButton(text="πŸŽ‰ Add me to your group", url="https://t.me/{}?startgroup=new".format(context.bot.username))]])
update.effective_message.reply_photo(DAISY_IMG,
tl(update.effective_message, PM_START_TEXT).format(escape_markdown(first_name), escape_markdown(context.bot.first_name), OWNER_ID),
disable_web_page_preview=True,
parse_mode=ParseMode.MARKDOWN,
Expand Down

0 comments on commit bf65635

Please sign in to comment.