diff --git a/src/bot/bot.update.ts b/src/bot/bot.update.ts index 7fd7932..9b100f7 100644 --- a/src/bot/bot.update.ts +++ b/src/bot/bot.update.ts @@ -81,6 +81,11 @@ export class BotUpdate { this.gameService.emit({ cmd: 'GetCards'}, { user: ctx.from.id, inline: false}); } + @Command('question') + async onQuestionCommand(@Ctx() ctx: Context) { + this.gameService.emit({ cmd: 'GetQuestion'}, { user: ctx.from.id, inline: false }); + } + @Command('next') async onNextCommand(@Ctx() ctx: Context) { if(ctx.from.id === 11178819) {