fix no thanks behaviour
This commit is contained in:
parent
7f906091fa
commit
79278370d8
2 changed files with 6 additions and 1 deletions
|
|
@ -66,6 +66,11 @@ export class BotUpdate {
|
||||||
await ctx.scene.enter(REGISTER_SCENE_ID);
|
await ctx.scene.enter(REGISTER_SCENE_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Hears(Messages.NOTHING_THANKS)
|
||||||
|
async onNothingThanks(@Ctx() ctx: Context) {
|
||||||
|
this.globalCmd.hideKeyboard(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
@Hears(Messages.GO)
|
@Hears(Messages.GO)
|
||||||
async onGoCommand(@Ctx() ctx: Context) {
|
async onGoCommand(@Ctx() ctx: Context) {
|
||||||
await ctx.scene.enter(QUIZ_SCENE);
|
await ctx.scene.enter(QUIZ_SCENE);
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ export class TGHandlers {
|
||||||
await ctx.editMessageText("карта выбрана");
|
await ctx.editMessageText("карта выбрана");
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
//console.log(ctx.update);
|
console.log(ctx.update);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue