feat: add /user command #5

Merged
mctaylors merged 5 commits from user into master 2025-06-08 10:59:52 +03:00
Showing only changes of commit c1987ab48a - Show all commits

View file

@ -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"]]))