removed and now it should work?
Browse files- App/__init__.py +1 -1
- App/app.py +1 -1
- App/tranny_bot.session +0 -0
App/__init__.py
CHANGED
@@ -3,7 +3,7 @@ from telethon import TelegramClient
|
|
3 |
|
4 |
|
5 |
bot = TelegramClient(
|
6 |
-
"
|
7 |
api_id=870972,
|
8 |
api_hash="ce2efaca02dfcd110941be6025e9ac0d",
|
9 |
)
|
|
|
3 |
|
4 |
|
5 |
bot = TelegramClient(
|
6 |
+
"tranny_botx",
|
7 |
api_id=870972,
|
8 |
api_hash="ce2efaca02dfcd110941be6025e9ac0d",
|
9 |
)
|
App/app.py
CHANGED
@@ -32,7 +32,7 @@ app.add_middleware(
|
|
32 |
|
33 |
@app.on_event("startup")
|
34 |
async def startup_event():
|
35 |
-
|
36 |
# await upload_bot.start()
|
37 |
# await models.create_all()
|
38 |
if not database.is_connected:
|
|
|
32 |
|
33 |
@app.on_event("startup")
|
34 |
async def startup_event():
|
35 |
+
await bot.start(bot_token="6183919505:AAEhHFt4mI18bQeAf2Lj7AePXFRPVLrOFM8")
|
36 |
# await upload_bot.start()
|
37 |
# await models.create_all()
|
38 |
if not database.is_connected:
|
App/tranny_bot.session
DELETED
Binary file (28.7 kB)
|
|