diff --git a/src/bot/bot.update.ts b/src/bot/bot.update.ts index 5d698d6..2fe1711 100644 --- a/src/bot/bot.update.ts +++ b/src/bot/bot.update.ts @@ -66,6 +66,11 @@ export class BotUpdate { await ctx.scene.enter(REGISTER_SCENE_ID); } + @Hears(Messages.NOTHING_THANKS) + async onNothingThanks(@Ctx() ctx: Context) { + this.globalCmd.hideKeyboard(ctx); + } + @Hears(Messages.GO) async onGoCommand(@Ctx() ctx: Context) { await ctx.scene.enter(QUIZ_SCENE); diff --git a/src/bot/handlers.ts b/src/bot/handlers.ts index ec18bb9..2738d62 100644 --- a/src/bot/handlers.ts +++ b/src/bot/handlers.ts @@ -26,7 +26,7 @@ export class TGHandlers { await ctx.editMessageText("карта выбрана"); } else { - //console.log(ctx.update); + console.log(ctx.update); } } } \ No newline at end of file