Merge branch 'coddrago:v1.6.8' into v1.6.8

pull/40/head
Rilliat 2024-12-21 10:58:56 +03:00 committed by GitHub
commit d57ca6b27c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -751,7 +751,7 @@ class Hikka:
patcher.patch(client, session)
await client.connect()
client.phone = "ХАХАХАХАХХАХА, размечтался, иди нахуй!"
client.phone = "Why do you need your own phone number?"
self.clients += [client]
except sqlite3.OperationalError:

View File

@ -27,7 +27,7 @@ logger = logging.getLogger(__name__)
class HikkaBackupMod(loader.Module):
"""Handles database and modules backups"""
strings = {"name": "HikkaBackup"}
strings = {"name": "HerokuBackup"}
async def client_ready(self):
if not self.get("period"):

View File

@ -29,7 +29,7 @@ NUM_ROWS = 5
class HikkaConfigMod(loader.Module):
"""Interactive configurator for Hikka Userbot"""
strings = {"name": "HikkaConfig"}
strings = {"name": "HerokuConfig"}
@staticmethod
def prep_value(value: typing.Any) -> typing.Any:

View File

@ -17,7 +17,7 @@ import subprocess
class HikkaInfoMod(loader.Module):
"""Show userbot info"""
strings = {"name": "HikkaInfo"}
strings = {"name": "HerokuInfo"}
def __init__(self):
self.config = loader.ModuleConfig(

View File

@ -36,7 +36,7 @@ from ..security import (
class HikkaSecurityMod(loader.Module):
"""Control security settings"""
strings = {"name": "HikkaSecurity"}
strings = {"name": "HerokuSecurity"}
async def client_ready(self):
self._sgroups: typing.Iterable[str, SecurityGroup] = self.pointer(

View File

@ -38,9 +38,9 @@ ALL_INVOKES = [
@loader.tds
class HikkaSettingsMod(loader.Module):
"""Advanced settings for Hikka Userbot"""
"""Advanced settings for Heroku Userbot"""
strings = {"name": "HikkaSettings"}
strings = {"name": "HerokuSettings"}
def get_watchers(self) -> tuple:
return [