Update main.py

pull/127/head
Who? 2025-03-14 23:57:51 +07:00 committed by GitHub
parent cd4a255aba
commit b48e6b43a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -400,7 +400,7 @@ def raise_auth():
raise InteractiveAuthRequired() raise InteractiveAuthRequired()
class Hikka: class Heroku:
"""Main userbot instance, which can handle multiple clients""" """Main userbot instance, which can handle multiple clients"""
def __init__(self): def __init__(self):
@ -551,7 +551,7 @@ class Hikka:
session = SQLiteSession( session = SQLiteSession(
os.path.join( os.path.join(
BASE_DIR, BASE_DIR,
f"hikka-{telegram_id}", f"heroku-{telegram_id}",
) )
) )
@ -996,4 +996,4 @@ class Hikka:
herokutl.extensions.html.CUSTOM_EMOJIS = not get_config_key("disable_custom_emojis") herokutl.extensions.html.CUSTOM_EMOJIS = not get_config_key("disable_custom_emojis")
hikka = Hikka() hikka = Heroku()