update messages

This commit is contained in:
2026-01-29 23:21:34 +03:00
parent cc41f4531b
commit d167b19383
3 changed files with 48 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ bot.use(menu);
bot.command('start', cmdStart);
bot.command('help', cmdHelp);
bot.command('menu', async (ctx) => {
bot.command(['menu', 'emnu'], async (ctx) => {
const photoFile = new InputFile(`./assets/images/road_${choice([1, 2, 3])}.jpg`);
await ctx.replyWithPhoto(photoFile, {
caption: '🛣️ \*Навигация, меню или что\\-то такое\\.\\.\\.\*',