fix no thanks behaviour

This commit is contained in:
Kirill Ivlev 2024-11-13 19:04:48 +04:00
parent 7f906091fa
commit 79278370d8
2 changed files with 6 additions and 1 deletions

View file

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

View file

@ -26,7 +26,7 @@ export class TGHandlers {
await ctx.editMessageText("карта выбрана");
} else
{
//console.log(ctx.update);
console.log(ctx.update);
}
}
}