Fixed markup

This commit is contained in:
Profitroll 2023-06-28 08:57:09 +02:00
parent 51da210817
commit 9e0a815062
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -348,7 +348,8 @@ async def cmd_remove(app: PyroClient, msg: Message):
await answer_kind.reply_text( await answer_kind.reply_text(
app._( app._(
"remove_success", "message", locale=msg.from_user.language_code "remove_success", "message", locale=msg.from_user.language_code
).format(answer_id.text) ).format(answer_id.text),
reply_markup=ReplyKeyboardRemove(),
) )
else: else:
logger.warning( logger.warning(
@ -360,7 +361,8 @@ async def cmd_remove(app: PyroClient, msg: Message):
await answer_kind.reply_text( await answer_kind.reply_text(
app._( app._(
"remove_failure", "message", locale=msg.from_user.language_code "remove_failure", "message", locale=msg.from_user.language_code
).format(answer_id.text) ).format(answer_id.text),
reply_markup=ReplyKeyboardRemove(),
) )