diff --git a/bot.py b/bot.py index 8b91864..101a7c0 100644 --- a/bot.py +++ b/bot.py @@ -775,9 +775,9 @@ class MenuBuilder: items = self._menus.get(menu_name, []) keyboard = [] for item in items: - icon = item.icon + " " if item.icon else "" + # Иконка уже есть в label, поэтому не добавляем её отдельно button = InlineKeyboardButton( - f"{icon}{item.label}", + item.label, callback_data=item.callback ) keyboard.append([button])