Skip to content

Commit

Permalink
fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
backmeupplz committed Jun 22, 2022
1 parent a0464ce commit e34f9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/handleEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function handleEngine(ctx: Context) {
await ctx.reply(ctx.i18n.t('engine'), {
reply_markup: keyboard,
parse_mode: 'Markdown',
reply_to_message_id: ctx.message.message_id,
reply_to_message_id: ctx.msg?.message_id,
})
logAnswerTime(ctx, '/engine')
}
2 changes: 1 addition & 1 deletion src/helpers/language/sendLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function sendLanguage(ctx: Context, isCommand?: boolean) {
: ctx.i18n.t('language_without_engine')
await ctx.reply(text, {
reply_markup: languageKeyboard(ctx.dbchat.engine, isCommand),
reply_to_message_id: ctx.message?.message_id,
reply_to_message_id: ctx.msg?.message_id,
})
logAnswerTime(ctx, '/language')
}

0 comments on commit e34f9f3

Please sign in to comment.