change: use html_parser.code when showing ID
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
1d80adc8d8
commit
c1987ab48a
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ async def user_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
|
|||
]
|
||||
reply_markup = InlineKeyboardMarkup(keyboard)
|
||||
|
||||
m = [" ".join(["ID:", str(user_data["id"])])]
|
||||
m = [" ".join(["ID:", html_parser.code(user_data["id"])])]
|
||||
created_at = datetime.fromisoformat(user_data["created_at"])
|
||||
m.append(" ".join(["Join Date:", created_at.strftime("%Y-%m-%d")]))
|
||||
m.append(" ".join(["Level:", user_data["level_string"]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue