From 524521d8afe0d2b5e37b0d6648ea25bae108e229 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 3 Jan 2026 03:17:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D1=91=D0=BD=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BA=D1=81=D1=82=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D0=B0=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=87=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 570369e..c3c4155 100644 --- a/index.ts +++ b/index.ts @@ -13,7 +13,7 @@ bot.use(menu); bot.command('start', cmdStart); bot.command('help', cmdHelp); bot.command('menu', async (ctx) => { - const photoFile = new InputFile(`./assets/images/road_${choice([1, 2, 3])}.png`); + const photoFile = new InputFile(`./assets/images/road_${choice([1, 2, 3])}.jpg`); await ctx.replyWithPhoto(photoFile, { caption: '🛣️ \*Навигация, меню или что\\-то такое\\.\\.\\.\*', reply_markup: menu, @@ -22,6 +22,6 @@ bot.command('menu', async (ctx) => { }); bot.command('version', (ctx) => ctx.reply(`Версия: ${pkg.version}`)); -bot.on('message', (ctx) => ctx.reply('...')); +bot.on('message', (ctx) => ctx.reply('Ээ, нет, вызови /menu и будет счастье')); bot.start();