mirror of https://github.com/coddrago/Heroku
added ToThost, aeza in .info, update telethon version and fix some bugs
added ToThost, aeza in .infopull/13/head
commit
0902043c22
|
@ -1,4 +1,11 @@
|
|||
# Hikka Changelog
|
||||
## 🌑 Hikka 1.6.6
|
||||
|
||||
- add ToThost, oracle, AWS, aeza and serv00 detection
|
||||
- fixed some bugs
|
||||
- update telethon version to 1.37.0
|
||||
- removed all languages excluding: Russian, English, Ukrainian
|
||||
|
||||
## 🌑 Hikka 1.6.6 beta
|
||||
|
||||
- formatting ruff
|
||||
|
|
|
@ -96,6 +96,8 @@ IS_HIKKAHOST = "HIKKAHOST" in os.environ
|
|||
IS_ORACLE = "ORACLE_OS" in os.environ
|
||||
IS_AWS = "AWS_OS" in os.environ
|
||||
IS_SERV00 = "serv00" in socket.gethostname()
|
||||
IS_TOTHOST = "tothost" in socket.gethostname()
|
||||
IS_AEZA = "aeza" in socket.gethostname()
|
||||
IS_WSL = False
|
||||
with contextlib.suppress(Exception):
|
||||
from platform import uname
|
||||
|
|
|
@ -74,6 +74,7 @@ class HikkaInfoMod(loader.Module):
|
|||
("🐈⬛", "<emoji document_id=6334750507294262724>🐈⬛</emoji>"),
|
||||
("✌️", "<emoji document_id=5469986291380657759>✌️</emoji>"),
|
||||
("💎", "<emoji document_id=5471952986970267163>💎</emoji>"),
|
||||
("🛡", "<emoji document_id=5287571024500498635>☁️</emoji>"),
|
||||
]:
|
||||
platform = platform.replace(emoji, icon)
|
||||
|
||||
|
|
|
@ -917,6 +917,12 @@ def get_named_platform() -> str:
|
|||
if main.IS_SERV00:
|
||||
return "💎 Serv00"
|
||||
|
||||
if main.IS_TOTHOST:
|
||||
return "☁️ ToTHost"
|
||||
|
||||
if main.IS_AEZA:
|
||||
return "🛡 Aeza"
|
||||
|
||||
if main.IS_GOORM:
|
||||
return "🦾 GoormIDE"
|
||||
|
||||
|
|
Loading…
Reference in New Issue