fix
This commit is contained in:
3
main.py
3
main.py
@@ -121,6 +121,9 @@ async def broadcast_message(message: types.Message, state: FSMContext):
|
|||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
await bot1.delete_webhook(drop_pending_updates=True)
|
||||||
|
await bot2.delete_webhook(drop_pending_updates=True)
|
||||||
|
|
||||||
await asyncio.gather(
|
await asyncio.gather(
|
||||||
dp1.start_polling(bot1),
|
dp1.start_polling(bot1),
|
||||||
dp2.start_polling(bot2),
|
dp2.start_polling(bot2),
|
||||||
|
|||||||
Reference in New Issue
Block a user