From af031431f5c269b3febd8a003ef64b3b6eab91a6 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 5 Jul 2021 02:42:51 +0300 Subject: [PATCH 1/2] Fixed BotCommandScopeType helper mode --- aiogram/types/bot_command_scope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/bot_command_scope.py b/aiogram/types/bot_command_scope.py index e3091a7e..cb9bc78e 100644 --- a/aiogram/types/bot_command_scope.py +++ b/aiogram/types/bot_command_scope.py @@ -5,7 +5,7 @@ from ..utils import helper class BotCommandScopeType(helper.Helper): - mode = helper.HelperMode.lowercase + mode = helper.HelperMode.snake_case DEFAULT = helper.Item() # default ALL_PRIVATE_CHATS = helper.Item() # all_private_chats From 64a7a781dacf179fff45900a34963a54dddbd50c Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 5 Jul 2021 02:43:32 +0300 Subject: [PATCH 2/2] Bump version --- aiogram/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/__init__.py b/aiogram/__init__.py index 2d852a7e..e04c6870 100644 --- a/aiogram/__init__.py +++ b/aiogram/__init__.py @@ -43,5 +43,5 @@ __all__ = ( 'utils', ) -__version__ = '2.14' +__version__ = '2.14.1' __api_version__ = '5.3'