From aa58c8fdeb35a54b3339f6f37818105812b9a1f8 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Fri, 23 Oct 2020 03:15:43 +0300 Subject: [PATCH] fixed BotKicked match --- aiogram/utils/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/utils/exceptions.py b/aiogram/utils/exceptions.py index 58e757e9..3602453a 100644 --- a/aiogram/utils/exceptions.py +++ b/aiogram/utils/exceptions.py @@ -515,7 +515,7 @@ class Unauthorized(TelegramAPIError, _MatchErrorMixin): class BotKicked(Unauthorized): - match = 'bot was kicked from a chat' + match = 'bot was kicked from' class BotBlocked(Unauthorized):