diff --git a/hikka/langpacks/en.yml b/hikka/langpacks/en.yml
index 50d4867..88537d1 100644
--- a/hikka/langpacks/en.yml
+++ b/hikka/langpacks/en.yml
@@ -385,6 +385,7 @@ update_notifier:
latest_disabled: "Notifications about the latest update have been suppressed"
update: "🔄 Update"
ignore: "🚫 Ignore"
+ changelog: '📰 Changelog of the last major update:\n
{}
'
_cls_doc: "Tracks latest Hikka releases, and notifies you, if update is required"
updater:
diff --git a/hikka/langpacks/ru.yml b/hikka/langpacks/ru.yml
index 4db52e7..6f4dfbb 100644
--- a/hikka/langpacks/ru.yml
+++ b/hikka/langpacks/ru.yml
@@ -367,6 +367,7 @@ update_notifier:
latest_disabled: "Уведомления о последнем обновлении были отключены"
update: "🔄 Обновить"
ignore: "🚫 Игнорировать"
+ changelog: '📰 Список изменений последнего крупного обновления:\n{}
'
updater:
source: "📖 Исходный код можно прочитать здесь"
diff --git a/hikka/langpacks/ua.yml b/hikka/langpacks/ua.yml
index 3744140..4cbfa99 100644
--- a/hikka/langpacks/ua.yml
+++ b/hikka/langpacks/ua.yml
@@ -367,6 +367,7 @@ update_notifier:
latest_disabled: "Повідомлення про останнє оновлення було вимкнено"
update: "🔄 Оновити"
ignore: "🚫 Ігнорувати"
+ changelog: '📰 Список змін останнього великого оновлення:\n{}
'
updater:
source: "📖 Вихідний код можна прочитати тут"
diff --git a/hikka/modules/update_notifier.py b/hikka/modules/update_notifier.py
index 263c61c..008b958 100644
--- a/hikka/modules/update_notifier.py
+++ b/hikka/modules/update_notifier.py
@@ -11,6 +11,7 @@ import git
from .. import loader, utils, version
from ..inline.types import InlineCall
+from ..types import Message
@loader.tds
@@ -137,3 +138,13 @@ class UpdateNotifier(loader.Module):
await call.delete()
await self.invoke("update", "-f", peer=self.inline.bot_username)
+
+ @loader.command()
+ async def changelog(self, message: Message):
+ """Shows the changelog of the last major update"""
+ with open('CHANGELOG.md', mode='r', encoding='utf-8') as f:
+ changelog = f.read().split('##')[1].strip()
+ if (await self._client.get_me()).premium:
+ changelog.replace('🌑 Hikka', '🌘🌘🌘')
+
+ await utils.answer(message, self.strings('changelog').format(changelog))