new shit
Browse files- App/__init__.py +1 -1
- App/app.py +2 -2
App/__init__.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
print(os.getcwd())
|
6 |
bot = TelegramClient(
|
7 |
-
"
|
8 |
api_id=870972,
|
9 |
api_hash="ce2efaca02dfcd110941be6025e9ac0d",
|
10 |
)
|
|
|
4 |
|
5 |
print(os.getcwd())
|
6 |
bot = TelegramClient(
|
7 |
+
"6183919305",
|
8 |
api_id=870972,
|
9 |
api_hash="ce2efaca02dfcd110941be6025e9ac0d",
|
10 |
)
|
App/app.py
CHANGED
@@ -32,8 +32,8 @@ app.add_middleware(
|
|
32 |
|
33 |
@app.on_event("startup")
|
34 |
async def startup_event():
|
35 |
-
|
36 |
-
await bot.start()
|
37 |
# await upload_bot.start()
|
38 |
# await models.create_all()
|
39 |
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 bot.start()
|
37 |
# await upload_bot.start()
|
38 |
# await models.create_all()
|
39 |
if not database.is_connected:
|