Update README

pull/1/head
hikari.ftg 2022-03-29 12:38:13 +00:00
parent 0a2327c37e
commit 2c15341cf5
3 changed files with 102 additions and 1 deletions

View File

@ -1,3 +1,5 @@
<a href="https://github.com/hikariatama/Hikka/blob/master/README_ru.md"><img src="https://img.icons8.com/external-justicon-flat-justicon/344/external-russia-countrys-flags-justicon-flat-justicon.png"> Русская версия страницы</a>
<hr>
<h2><img src="https://github.com/hikariatama/assets/raw/master/1326-command-window-line-flat.webp" height="54" align="middle"> Installation</h2>
<img src="https://github.com/hikariatama/assets/raw/master/install.gif">

95
README_ru.md 100644
View File

@ -0,0 +1,95 @@
<a href="https://github.com/hikariatama/Hikka/blob/master/README.md"><img src="https://img.icons8.com/external-justicon-flat-justicon/344/external-uk-flag-countrys-flags-justicon-flat-justicon.png"> English page version</a>
<hr>
<h2><img src="https://github.com/hikariatama/assets/raw/master/1326-command-window-line-flat.webp" height="54" align="middle"> Установка</h2>
<img src="https://github.com/hikariatama/assets/raw/master/install.gif">
<a href="https://cloud.okteto.com/#/deploy?repository=https://github.com/hikariatama/Hikka"><img src="https://user-images.githubusercontent.com/36935426/159979786-61a598ef-83c8-4c53-9cda-9aea31d61587.png" height="60"></a>
<hr>
<h2><img src="https://github.com/hikariatama/assets/raw/master/35-edit-flat.webp" height="54" align="middle"> Изменения</h2>
<ul>
<li>🆕 Последние слои Телеграм с поддержкой реакций, видеостикеров и многим другим</li>
<li>🔓 Патчи безопасности</li>
<li>🎨 Улучшенные UI/UX</li>
<li>📼 Обновленные стандартные модули</li>
<li>☁️ Поддержка установки на Okteto Cloud</li>
<li>⏱ Быстрые фиксы багов (в сравнении с FTG)</li>
<li>▶️ Инлайн-кнопки, доступные для всех разработчиков</li>
<li>🖼 Инлайн-галереи, доступные для всех разработчиков</li>
<li>🔁 Полная обратная совместимость с прошлыми версиями Hikka, а также модулями FTG\GeekTG</li>
</ul>
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/1312-micro-sd-card-flat.webp" height="54" align="middle"> Зависимости</h2>
<ul>
<li>Python 3.8 или выше</li>
<li>Зависимости из <code>requirements.txt</code></li>
<li>Необязательно: API ID и Hash из <a href="https://my.telegram.org/apps" color="#2594cb">Telegram</a> (можно использовать стандартные, если аккаунт достаточно старый)</li>
<li>Необязательно: Знание терминала</li>
</ul>
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/680-it-developer-flat.webp" height="54" align="middle"> Документация</h2>
Смотри папку <code>docs</code> для документации разработчиков
Документация для пользователей находится в разработке
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/981-consultation-flat.webp" height="54" align="middle"> <a href="https://t.me/hikka_talks">Помощь</a></h2>
<hr>
<h2 border="none"><img src="https://github.com/hikariatama/assets/raw/master/541-hand-washing-step-12-flat.webp" height="54" align="middle"> Особенности</h2>
<table>
<tr>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/1286-three-3-key-flat.webp" height="32" align="middle"><b> Формы - Устал писать? Жми на кнопки!</b>
</td>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/61-camera-flat.webp" height="32" align="middle"><b> Галереи - Листай любимые фото прямо в Telegram</b>
</td>
</tr>
<tr>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160475881-8463537a-265e-472a-9b1e-ede8b1cc3380.gif">
</td>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160475809-c171c5ff-010c-472c-903a-de9b8a2c61cc.gif">
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/216-arrow-5-flat.webp" height="32" align="middle"><b> Инлайн - Поделись юзерботом с друзьями</b>
</td>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/1054-amazon-echo-speaker-flat.webp" height="32" align="middle"><b> Бот - Не принимаешь личные сообщения? Не проблема. Фидбек-бот к вашим услугам</b>
</td>
</tr>
<tr>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160475934-02e6df9d-e73a-42fc-99c7-8b12d1015336.gif">
</td>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160476037-9537f1c7-8b72-408f-b84c-b89825930bf5.gif">
</td>
</tr>
</table>
<table>
<tr>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/1140-error-flat.webp" height="32" align="middle"><b> Встроенные логи - Показывать ошибки прямо в сообщеннии, вызвавшем их</b>
</td>
<td>
<img src="https://github.com/hikariatama/assets/raw/master/35-edit-flat.webp" height="32" align="middle"><b> Grep - Получить только нужные строки вывода команды</b>
</td>
</tr>
<tr>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160475684-86d11e83-832e-43fc-89d8-fd7bc85b1857.gif">
</td>
<td>
<img src="https://user-images.githubusercontent.com/36935426/160475710-2adb0f11-afb6-4860-b1cd-85ccc5421d22.gif">
</td>
</tr>
</table>
<b>👨‍👦 NoNick, NoNickUser, NoNickCmd - Используй другой аккаунт в качестве юзербота</b>
<img src="https://user-images.githubusercontent.com/36935426/158637220-00495363-cf4a-4e6f-a4b2-51d693906ead.png">

View File

@ -175,7 +175,11 @@ class Events(InlineUnit):
await query.answer("You are not allowed to press this button!")
return
await self._custom_map[query.data]["handler"](query, *self._custom_map[query.data].get("args", []), **self._custom_map[query.data].get("kwargs", {}))
await self._custom_map[query.data]["handler"](
query,
*self._custom_map[query.data].get("args", []),
**self._custom_map[query.data].get("kwargs", {}),
)
return
async def _chosen_inline_handler(