From af031431f5c269b3febd8a003ef64b3b6eab91a6 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 5 Jul 2021 02:42:51 +0300 Subject: [PATCH] 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