diff --git a/src/glitchup_bot/bot/handlers/commands.py b/src/glitchup_bot/bot/handlers/commands.py index 34de0fa..4c40a1d 100644 --- a/src/glitchup_bot/bot/handlers/commands.py +++ b/src/glitchup_bot/bot/handlers/commands.py @@ -218,8 +218,7 @@ def _admin_sync_text() -> str: [ "Синхронизация", "", - "Отсюда удобно запускать ручной sync и проверять, " - "когда данные обновлялись в последний раз.", + "Запустите синхронизацию принудительно или установите время автоматической синхронизации.", ] ) diff --git a/src/glitchup_bot/bot/keyboards.py b/src/glitchup_bot/bot/keyboards.py index d078563..d2cee5d 100644 --- a/src/glitchup_bot/bot/keyboards.py +++ b/src/glitchup_bot/bot/keyboards.py @@ -72,11 +72,10 @@ def admin_home_keyboard() -> InlineKeyboardMarkup: def admin_sync_keyboard() -> InlineKeyboardMarkup: builder = InlineKeyboardBuilder() - builder.button(text="Запустить sync", callback_data="admin:sync") - builder.button(text="Автосинк: вкл/выкл", callback_data="admin:settings:sync_enabled") - builder.button(text="Время отчёта", callback_data="admin:settings:digest_time") + builder.button(text="Запустить принудительно", callback_data="admin:sync") + builder.button(text="Выставить время автосинхронизации", callback_data="admin:settings:sync_enabled") builder.button(text="Назад", callback_data="admin:open") - builder.adjust(2, 1, 1) + builder.adjust(2, 1) return builder.as_markup()