Skip to content

Commit

Permalink
feat: make the system message resemble discord clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 committed Sep 14, 2024
1 parent 7ae5ada commit 70c6510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disnake/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -1610,8 +1610,8 @@ def system_content(self) -> Optional[str]:

if winning_answer and winning_answer_votes:
msg += (
f" {winning_answer} won with {winning_answer_votes} "
f"({(100 * int(winning_answer_votes)) // int(total_votes)}%)."
f"\n\n{winning_answer}"
f"\nWinning answer • {(100 * int(winning_answer_votes)) // int(total_votes)}%"
)
else:
msg += f" With {total_votes} total votes."
Expand Down

0 comments on commit 70c6510

Please sign in to comment.