update messages
This commit is contained in:
2
index.ts
2
index.ts
@@ -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: '🛣️ \*Навигация, меню или что\\-то такое\\.\\.\\.\*',
|
||||
|
||||
Reference in New Issue
Block a user