From e3d5c5a68982fc99c9fbb60925a09df7bf6b2370 Mon Sep 17 00:00:00 2001 From: Who? <155328415+coddrago@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:31:18 +0700 Subject: [PATCH] Update utils.py --- hikka/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hikka/utils.py b/hikka/utils.py index 047b9bf..176a87f 100644 --- a/hikka/utils.py +++ b/hikka/utils.py @@ -712,7 +712,7 @@ async def invite_inline_bot( channel=peer, user_id=client.loader.inline.bot_username, admin_rights=ChatAdminRights(ban_users=True), - rank="Hikka", + rank="Heroku", ) ) @@ -1285,12 +1285,12 @@ def get_git_hash() -> typing.Union[str, bool]: def get_commit_url() -> str: """ - Get current Hikka git commit url + Get current Heroku git commit url :return: Git commit url """ try: hash_ = get_git_hash() - return f'#{hash_[:7]}' + return f'#{hash_[:7]}' except Exception: return "Unknown" @@ -1580,7 +1580,7 @@ def get_git_info() -> typing.Tuple[str, str]: hash_ = get_git_hash() return ( hash_, - f"https://github.com/coddrago/Hikka/commit/{hash_}" if hash_ else "", + f"https://github.com/coddrago/Heroku/commit/{hash_}" if hash_ else "", )