diff --git a/apps/bot/locales/ru.ftl b/apps/bot/locales/ru.ftl index 157d8a7..7d0b3fe 100644 --- a/apps/bot/locales/ru.ftl +++ b/apps/bot/locales/ru.ftl @@ -29,7 +29,7 @@ becomemaster = sharebot = .description = Поделиться ботом help = - .description = Список команд + .description = Список команд и поддержка commands-list = 📋 Доступные команды: @@ -40,6 +40,9 @@ commands-list = Откройте приложение кнопкой "Открыть", чтобы отредактировать свой профиль или создать запись +support = + ℹ️ По всем вопросам и обратной связи: @vchikalkin + # Приветственные сообщения msg-welcome = diff --git a/apps/bot/src/bot/features/help.ts b/apps/bot/src/bot/features/help.ts index 9f55e37..70c9aad 100644 --- a/apps/bot/src/bot/features/help.ts +++ b/apps/bot/src/bot/features/help.ts @@ -1,6 +1,7 @@ import { type Context } from '@/bot/context'; import { logHandle } from '@/bot/helpers/logging'; import { KEYBOARD_REMOVE } from '@/config/keyboards'; +import { combine } from '@/utils/messages'; import { Composer } from 'grammy'; const composer = new Composer(); @@ -8,7 +9,10 @@ const composer = new Composer(); const feature = composer.chatType('private'); feature.command('help', logHandle('command-help'), async (ctx) => { - return ctx.reply(ctx.t('commands-list'), { ...KEYBOARD_REMOVE, parse_mode: 'HTML' }); + return ctx.reply(combine(ctx.t('commands-list'), ctx.t('support')), { + ...KEYBOARD_REMOVE, + parse_mode: 'HTML', + }); }); export { composer as help };