Reply is parsed as markdown now

This commit is contained in:
Profitroll 2022-12-15 14:31:57 +01:00
parent 49bed307ad
commit c91833f81e
1 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,8 @@ async def confirm_yes(app, msg):
InlineKeyboardButton(text=str(locale("reapply_no", "button")), callback_data=f"reapply_no_{holo_user.id}")
]
]
)
),
parse_mode=ParseMode.MARKDOWN
)
else:
await app.send_message(chat_id=configGet("admin_group"), text=(locale("application_got", "message")).format(str(holo_user.id), msg.from_user.first_name, msg.from_user.last_name, msg.from_user.username, "\n".join(application_content)), parse_mode=ParseMode.MARKDOWN, reply_markup=InlineKeyboardMarkup(
@ -71,7 +72,8 @@ async def confirm_yes(app, msg):
InlineKeyboardButton(text=str(locale("sub_russian", "button")), callback_data=f"sub_russian_{holo_user.id}")
]
]
)
),
parse_mode=ParseMode.MARKDOWN
)
logWrite(f"User {holo_user.id} sent his application and it will now be reviewed")