fix other args

This commit is contained in:
Oleg A 2018-11-06 01:19:56 +03:00
parent 21908739e9
commit 2a79951448

View file

@ -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