mirror of https://github.com/coddrago/Heroku
upd telethon
parent
1f146401aa
commit
944a8d6b73
|
@ -28,9 +28,9 @@ if (
|
|||
print("Type no_sudo if your system has no sudo (Debian vibes)")
|
||||
if input("> ").lower() != "force_insecure":
|
||||
sys.exit(1)
|
||||
elif input("> ").lower() != 'no_sudo':
|
||||
os.environ['NO_SUDO'] = '1'
|
||||
print('Added NO_SUDO in your environment variables')
|
||||
elif input("> ").lower() != "no_sudo":
|
||||
os.environ["NO_SUDO"] = "1"
|
||||
print("Added NO_SUDO in your environment variables")
|
||||
restart()
|
||||
|
||||
|
||||
|
|
|
@ -246,11 +246,14 @@ class CoreMod(loader.Module):
|
|||
self._db.clear()
|
||||
self._db.save()
|
||||
await utils.answer(call, self.strings("db_cleared"))
|
||||
|
||||
|
||||
async def installationcmd(self, message: Message):
|
||||
"""| Guide of installation"""
|
||||
|
||||
|
||||
await message.delete()
|
||||
|
||||
await self.client.send_file(message.peer_id, "https://i.imgur.com/Tfj0Wud.png", caption = self.strings["installation"])
|
||||
await self.client.send_file(
|
||||
message.peer_id,
|
||||
"https://i.imgur.com/Tfj0Wud.png",
|
||||
caption=self.strings["installation"],
|
||||
)
|
||||
|
|
|
@ -42,7 +42,7 @@ class BaseTranslator:
|
|||
pack: Path,
|
||||
prefix: str = "hikka.modules.",
|
||||
) -> typing.Optional[dict]:
|
||||
return self._get_pack_raw(pack.read_text(encoding='utf-8'), pack.suffix, prefix)
|
||||
return self._get_pack_raw(pack.read_text(encoding="utf-8"), pack.suffix, prefix)
|
||||
|
||||
def _get_pack_raw(
|
||||
self,
|
||||
|
|
|
@ -916,7 +916,7 @@ def get_named_platform() -> str:
|
|||
|
||||
if main.IS_SERV00:
|
||||
return "💎 Serv00"
|
||||
|
||||
|
||||
if main.IS_GOORM:
|
||||
return "🦾 GoormIDE"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
hikka-tl-new==2.0.8
|
||||
git+https://github.com/C0dwiz/Telethon.git
|
||||
aiofile==3.8.1
|
||||
gitpython==3.1.27
|
||||
meval==2.5
|
||||
|
@ -13,6 +13,6 @@ werkzeug==2.2.2
|
|||
psutil==6.0.0
|
||||
tgcrypto==1.2.5
|
||||
rsa==4.9
|
||||
ruamel.yaml==0.17.21
|
||||
ruamel.yaml==0.17.10
|
||||
|
||||
# Python 3.8+
|
||||
|
|
Loading…
Reference in New Issue