Bot.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:tinder-telegram-bot 作者: arthurdk 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号