test
Browse files- App/app.py +3 -3
App/app.py
CHANGED
@@ -32,7 +32,7 @@ app.add_middleware(
|
|
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()
|
@@ -43,8 +43,8 @@ async def startup_event():
|
|
43 |
|
44 |
@app.on_event("shutdown")
|
45 |
async def shutdown_event():
|
46 |
-
await bot.session.save()
|
47 |
-
await bot.disconnect()
|
48 |
|
49 |
# await upload_bot.stop()
|
50 |
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()
|
|
|
43 |
|
44 |
@app.on_event("shutdown")
|
45 |
async def shutdown_event():
|
46 |
+
# await bot.session.save()
|
47 |
+
# await bot.disconnect()
|
48 |
|
49 |
# await upload_bot.stop()
|
50 |
if not database.is_connected:
|