diff --git a/apps/bot/src/bot/index.ts b/apps/bot/src/bot/index.ts index 087a329..f45859a 100644 --- a/apps/bot/src/bot/index.ts +++ b/apps/bot/src/bot/index.ts @@ -40,13 +40,15 @@ export function createBot({ token }: Parameters_) { bot.use(autoChatAction(bot.api)); + bot.use(chatAction('typing')); + bot.use(grammyConversations()).command('cancel', async (ctx) => { await ctx.conversation.exitAll(); await ctx.reply(ctx.t('msg-cancel')); }); for (const conversation of Object.values(conversations)) { - bot.use(chatAction('typing'), createConversation(conversation)); + bot.use(createConversation(conversation)); } setInfo(bot);