pull/144/head
Who? 2025-05-15 09:05:07 +00:00
parent 757c9fe839
commit a04a3841a4
3 changed files with 5 additions and 5 deletions

View File

@ -82,8 +82,8 @@
- Fix request_join error - Fix request_join error
- Decrease module info length in heta - Decrease module info length in heta
- Add privacy switch to `UnitHeta` - Add privacy switch to `UnitHeta`
- Add HerokuHost as a platform - Add HikkaHost as a platform
- Update to Heroku-TL 2.0.7 - Update to Hikka-TL 2.0.7
- Allow double-restart - Allow double-restart
- Personal messages scam modules protection - Personal messages scam modules protection
- https://github.com/coddrago/Heroku/issues/115 - https://github.com/coddrago/Heroku/issues/115

View File

@ -94,7 +94,7 @@ CONFIG_PATH = BASE_PATH / "config.json"
IS_TERMUX = "com.termux" in os.environ.get("PREFIX", "") IS_TERMUX = "com.termux" in os.environ.get("PREFIX", "")
IS_DOCKER = "DOCKER" in os.environ IS_DOCKER = "DOCKER" in os.environ
IS_LAVHOST = "LAVHOST" in os.environ IS_LAVHOST = "LAVHOST" in os.environ
IS_HEROKUHOST = "HEROKUHOST" in os.environ IS_HEROKUHOST = "HIKKAHOST" in os.environ
IS_AEZA = "aeza" in socket.gethostname() IS_AEZA = "aeza" in socket.gethostname()
IS_USERLAND = "userland" in os.environ.get("USER", "") IS_USERLAND = "userland" in os.environ.get("USER", "")
IS_JAMHOST = "JAMHOST" in os.environ IS_JAMHOST = "JAMHOST" in os.environ

View File

@ -929,7 +929,7 @@ def get_named_platform() -> str:
return "🛡 Aeza" return "🛡 Aeza"
if main.IS_HEROKUHOST: if main.IS_HEROKUHOST:
return "🌼 HerokuHost" return "🌼 HikkaHost"
if main.IS_DOCKER: if main.IS_DOCKER:
return "🐳 Docker" return "🐳 Docker"
@ -956,7 +956,7 @@ def get_platform_emoji() -> str:
) )
) )
if main.IS_HEROKUHOST: if main.IS_HIKKAHOST:
return BASE.format(5395745114494624362) return BASE.format(5395745114494624362)
if main.IS_JAMHOST: if main.IS_JAMHOST: