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();