Delete patch file

This commit is contained in:
hok7z 2023-01-04 22:10:35 +02:00
parent ef8b5080e3
commit 97b851db72
2 changed files with 2 additions and 22 deletions

View File

@ -21,7 +21,7 @@ This bot is designed to simplify the moderation and management of Telegram group
- Telegram API Service on port 5326 - Telegram API Service on port 5326
- Move the .env.dist text template to .env and configure him - Move the .env.dist text template to .env and configure him
- First start use `!reload` for parsing members and permissions - First start use `!reload` for parsing members and permissions
- Optional: Patch Aiogram if you need a scheduled update user data databases(shoud using)
## Configuration .env ## Configuration .env
| environment variables | description | | environment variables | description |

View File

@ -1,20 +0,0 @@
--- executor.py 2022-10-12 22:22:11.820907568 +0300
+++ executor.py.1 2022-10-12 22:23:26.660883642 +0300
@@ -105,7 +105,7 @@
check_ip=check_ip,
retry_after=retry_after,
route_name=route_name)
- executor.run_app(**kwargs)
+ executor.run_app(loop=loop, **kwargs)
def start(dispatcher, future, *, loop=None, skip_updates=None,
@@ -303,6 +303,8 @@
:return:
"""
self.set_webhook(webhook_path=webhook_path, request_handler=request_handler, route_name=route_name)
+ if "loop" not in kwargs:
+ kwargs["loop"] = self.loop
self.run_app(**kwargs)
def start_polling(self, reset_webhook=None, timeout=20, relax=0.1, fast=True,