From 9e0a8150621d20ff8b6fcf6d4aac39aaa093c5cc Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 28 Jun 2023 08:57:09 +0200 Subject: [PATCH] Fixed markup --- plugins/commands/photos.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/commands/photos.py b/plugins/commands/photos.py index 82e0959..d52e9f3 100644 --- a/plugins/commands/photos.py +++ b/plugins/commands/photos.py @@ -348,7 +348,8 @@ async def cmd_remove(app: PyroClient, msg: Message): await answer_kind.reply_text( app._( "remove_success", "message", locale=msg.from_user.language_code - ).format(answer_id.text) + ).format(answer_id.text), + reply_markup=ReplyKeyboardRemove(), ) else: logger.warning( @@ -360,7 +361,8 @@ async def cmd_remove(app: PyroClient, msg: Message): await answer_kind.reply_text( app._( "remove_failure", "message", locale=msg.from_user.language_code - ).format(answer_id.text) + ).format(answer_id.text), + reply_markup=ReplyKeyboardRemove(), )