Changes
This commit is contained in:
parent
a6566236cc
commit
a35f8aff1b
|
|
@ -52,10 +52,9 @@ Type /{BotCommands.HelpCommand} to get a list of available commands
|
|||
buttons.buildbutton("Repo", "https://github.com/Slam-Team/slam-mirrorbot")
|
||||
buttons.buildbutton("Channel", "https://t.me/SlamMirrorUpdates")
|
||||
reply_markup = InlineKeyboardMarkup(buttons.build_menu(2))
|
||||
uptime = get_readable_time((time.time() - botStartTime))
|
||||
if CustomFilters.authorized_user(update) or CustomFilters.authorized_chat(update):
|
||||
if update.message.chat.type == "private" :
|
||||
sendMessage(f"Hey I'm Alive 🙂\nSince: <code>{uptime}</code>", context.bot, update)
|
||||
sendMarkup(start_string, context.bot, update, reply_markup)
|
||||
else :
|
||||
sendMarkup(start_string, context.bot, update, reply_markup)
|
||||
else :
|
||||
|
|
|
|||
Loading…
Reference in New Issue