Skip to content

Commit

Permalink
fix: remove mention from /stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Trotsenko committed Jul 22, 2023
1 parent 230119d commit a94f626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async def stats_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N

for i, user in enumerate(query):
total += user.user_count
output_rest += f"{i+1}. {createMention(username=user.username, id=user.id)} — _{user.user_count} раз(а)_.\n"
output_rest += f"{i+1}. {user.username} — _{user.user_count} раз(а)_.\n"

output_start_1 = f"Брошено снежков: *{total}*.\n"
output_start_2 = f"Из них:\n" if total > 0 else ''
Expand Down

0 comments on commit a94f626

Please sign in to comment.