Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
shakhriyor committed Nov 8, 2022
1 parent 1ab3a50 commit 3e74b0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/handlers/my_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def vote_leaderboard(message: Message):
clips_position = i['position'] + 1

my_stats = [
f"🆔 Tg ID: <code>{message.chat.id}</code>",
f"ID: <code>{message.chat.id}</code>\n",
f"<b>🏆 Sizning yutuqlaringiz:</b>\n",
f"🗣 Yozilgan ovozlar: {recorded_clips}",
f"📊 Ovoz yozishdagi o'rningiz: {clips_position}\n",
Expand Down
16 changes: 8 additions & 8 deletions src/utils/uzbekvoice/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ async def send_my_profile(tg_id):
user = db.get_user(tg_id)
my_profile = [
f"👤 Mening profilim:\n\n"
f"Ism: *{user['full_name']}*",
f"Telegram ID: *{tg_id}*",
f"Telefon raqam: *{user['phone_number']}*",
f"Yosh oralig'i: *{str(user['year_of_birth'])}*",
f"Jinsi: *{user['gender']}*",
f"Ona-tili: *{user['native_language']}*",
f"Shevasi: *{user['accent_region']}*",
f"ID: <code>{tg_id}</code>",
f"Ism: <b>{user['full_name']}</b>",
f"Telefon raqam: <b>{user['phone_number']}</b>",
f"Yosh oralig'i: <b>{str(user['year_of_birth'])}</b>",
f"Jinsi: <b>{user['gender']}</b>",
f"Ona-tili: <b>{user['native_language']}</b>",
f"Shevasi: <b>{user['accent_region']}</b>",
]
await bot.send_message(tg_id, '\n'.join(my_profile), parse_mode='MARKDOWN', reply_markup=my_profile_markup())
await bot.send_message(tg_id, '\n'.join(my_profile), parse_mode="HTML", reply_markup=my_profile_markup())

0 comments on commit 3e74b0f

Please sign in to comment.