def send_about(bot: Bot, update: Update):
"""
Send the about message from the /about command
:param bot:
:param update:
:return:
"""
repo = git.Repo(search_parent_directories=True)
sha = repo.head.object.hexsha
msg = messages["about"] + "\nLast commit [%s](https://github.com/arthurdk/tinder-telegram-bot/commit/%s)" % (
sha, sha)
chat_id = update.message.chat_id
send_custom_message(bot=bot, chat_id=chat_id, message=msg)
评论列表
文章目录