From ce5edd330eda00b73561675036fd6b4c8f2dc237 Mon Sep 17 00:00:00 2001 From: Hamlet Date: Fri, 16 Aug 2024 15:45:49 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/bot/handlers.py | 1 + src/main.py | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ea8061..af7c76a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Команда `/time` - Кеширование в команду `/weather`. Погода обновляется раз в 30 минут +- Достижения (команда `/achievements`) ### Изменено - Модуль Заменен `requests` на `httpx` diff --git a/src/bot/handlers.py b/src/bot/handlers.py index 96641e5..1f375b8 100644 --- a/src/bot/handlers.py +++ b/src/bot/handlers.py @@ -74,6 +74,7 @@ KeyboardButton("Погода"), KeyboardButton("Обменник"), KeyboardButton("Гайд"), + KeyboardButton("Достижения"), ] ) diff --git a/src/main.py b/src/main.py index c791feb..c85122e 100644 --- a/src/main.py +++ b/src/main.py @@ -23,6 +23,7 @@ def configure_bot_commands(): BotCommand("exchanger", "Обменник"), BotCommand("transfer", "Перекидка предметов"), BotCommand("shop", "Магазин"), + BotCommand("achievements", "Достижения"), BotCommand("weather", "Погода"), BotCommand("items", "Информация о всех приметах"), BotCommand("casino", "Казино"),