- akn/manage/account.py +6 -3
akn/manage/account.py
CHANGED
@@ -49,13 +49,15 @@ client_mongo = MongoClient(MONGO_URL)
|
|
49 |
db = client_mongo["tiktokbot"]
|
50 |
collection = db["users"]
|
51 |
|
|
|
|
|
52 |
GBAN_ADMIN_ID = 1191668125
|
53 |
devs = GBAN_ADMIN_ID
|
54 |
|
55 |
active_clients = {}
|
56 |
|
57 |
STARTED_USERS = """
|
58 |
-
|
59 |
|
60 |
UserID : {}
|
61 |
First Name : {}
|
@@ -545,12 +547,13 @@ async def start_welcome(client: Client, message: Message):
|
|
545 |
)
|
546 |
|
547 |
await client.send_message(
|
548 |
-
|
549 |
text=STARTED_USERS.format(
|
550 |
user_id,
|
551 |
message.from_user.first_name,
|
552 |
f"@{message.from_user.username}" if message.from_user.username else "N/A"
|
553 |
-
)
|
|
|
554 |
)
|
555 |
|
556 |
await client.send_photo(
|
|
|
49 |
db = client_mongo["tiktokbot"]
|
50 |
collection = db["users"]
|
51 |
|
52 |
+
TOPIC_CHAT = "AkenoXDevSupport"
|
53 |
+
TOPIC_IDS = 23159
|
54 |
GBAN_ADMIN_ID = 1191668125
|
55 |
devs = GBAN_ADMIN_ID
|
56 |
|
57 |
active_clients = {}
|
58 |
|
59 |
STARTED_USERS = """
|
60 |
+
AKN-Dev (start) Logs
|
61 |
|
62 |
UserID : {}
|
63 |
First Name : {}
|
|
|
547 |
)
|
548 |
|
549 |
await client.send_message(
|
550 |
+
TOPIC_CHAT,
|
551 |
text=STARTED_USERS.format(
|
552 |
user_id,
|
553 |
message.from_user.first_name,
|
554 |
f"@{message.from_user.username}" if message.from_user.username else "N/A"
|
555 |
+
),
|
556 |
+
message_thread_id=TOPIC_IDS
|
557 |
)
|
558 |
|
559 |
await client.send_photo(
|