Files
party-mix-app/apps/bot/src/commands/help.ts

18 lines
848 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { CommandContext, Context } from 'grammy'
export async function handleHelp(ctx: CommandContext<Context>) {
await ctx.reply(
`*Как использовать Party Mix:*\n\n` +
`1\\. Создай вечеринку: /newparty Моя вечеринка\n` +
`2\\. Поделись кодом с друзьями\n` +
`3\\. Каждый добавляет себя: /addme Имя\n` +
`4\\. После \\— список треков строчкой за строчкой\n` +
`5\\. Открой веб\\-ссылку и нажми *Перемешать*\\!\n\n` +
`*Формат треков:*\n` +
`\`Исполнитель — Название\`\n` +
`\`Тараканы — Пойдём на улицу\`\n` +
`\`PALC — Залип\``,
{ parse_mode: 'MarkdownV2' },
)
}