fix no thanks behaviour
This commit is contained in:
parent
39534c2884
commit
4fd7b560ec
2 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export class TGHandlers {
|
|||
await ctx.editMessageText("карта выбрана");
|
||||
} else
|
||||
{
|
||||
//console.log(ctx.update);
|
||||
console.log(ctx.update);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue