mirror of https://github.com/coddrago/Heroku
Deepsource fixes
parent
4c68b2aebb
commit
b98b930c81
|
@ -74,12 +74,12 @@ class HikkaInfoMod(loader.Module):
|
|||
description="ℹ This will not compromise any sensitive data",
|
||||
input_message_content=aiogram.types.input_message_content.InputTextMessageContent(
|
||||
(
|
||||
"<b>👩🎤 Hikka Userbot</b>"
|
||||
f"<b>🤴 Owner: <a href=\"tg://user?id={self._me.id}\">{get_display_name(self._me)}</a></b>\n"
|
||||
f"<b>🔮 Version: </b><i>{'.'.join(list(map(str, list(main.__version__))))}</i>"
|
||||
f"<b>🧱 Build: </b><a href=\"https://github.com/hikariatama/Hikka/commit/{ver}\">{ver[:8] or 'Unknown'}</a>"
|
||||
f"<b>{upd}</b>"
|
||||
f"<b>{utils.get_named_platform()}</b>"
|
||||
"<b>👩🎤 Hikka Userbot</b>\n"
|
||||
f"<b>🤴 Owner: <a href=\"tg://user?id={self._me.id}\">{get_display_name(self._me)}</a></b>\n\n"
|
||||
f"<b>🔮 Version: </b><i>{'.'.join(list(map(str, list(main.__version__))))}</i>\n"
|
||||
f"<b>🧱 Build: </b><a href=\"https://github.com/hikariatama/Hikka/commit/{ver}\">{ver[:8] or 'Unknown'}</a>\n"
|
||||
f"<b>{upd}</b>\n"
|
||||
f"<b>{utils.get_named_platform()}</b>\n"
|
||||
),
|
||||
"HTML",
|
||||
disable_web_page_preview=True,
|
||||
|
|
|
@ -402,13 +402,13 @@ def get_named_platform() -> str:
|
|||
|
||||
if is_termux:
|
||||
return "🕶 Termux"
|
||||
|
||||
|
||||
if is_okteto:
|
||||
return "☁️ Okteto"
|
||||
|
||||
|
||||
if is_lavhost:
|
||||
return f"✌️ lavHost {os.environ['LAVHOST']}"
|
||||
|
||||
|
||||
return "📻 VDS"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue