From 2a79951448291ec7778eba5ad3dedb29dff7bea9 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 6 Nov 2018 01:19:56 +0300 Subject: [PATCH 1/2] fix other args --- examples/middleware_and_antiflood.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/middleware_and_antiflood.py b/examples/middleware_and_antiflood.py index 7986bf3f..f0238dec 100644 --- a/examples/middleware_and_antiflood.py +++ b/examples/middleware_and_antiflood.py @@ -46,7 +46,7 @@ class ThrottlingMiddleware(BaseMiddleware): self.prefix = key_prefix super(ThrottlingMiddleware, self).__init__() - async def on_process_message(self, message: types.Message): + async def on_process_message(self, message: types.Message, *args): """ This handler is called when dispatcher receives a message From ca91f15f47054073e46be08f81b571148eb51c39 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Thu, 15 Nov 2018 03:36:04 +0300 Subject: [PATCH 2/2] Pyton version 3.6 -> 3.7 --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 69426e9d..537c4b9a 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -27,7 +27,7 @@ Welcome to aiogram's documentation! :alt: MIT License -**aiogram** is a pretty simple and fully asynchronous library for `Telegram Bot API `_ written in Python 3.6 with `asyncio `_ and `aiohttp `_. It helps you to make your bots faster and simpler. +**aiogram** is a pretty simple and fully asynchronous library for `Telegram Bot API `_ written in Python 3.7 with `asyncio `_ and `aiohttp `_. It helps you to make your bots faster and simpler. Official aiogram resources