From 6d1f7646ba039389c7cc192b67d1417a17e5c350 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 13 Jun 2022 18:30:27 +0200 Subject: [PATCH] elaborate in lottershe message --- files/helpers/lottery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/lottery.py b/files/helpers/lottery.py index 32a275df45..6a3ca0945e 100644 --- a/files/helpers/lottery.py +++ b/files/helpers/lottery.py @@ -49,10 +49,10 @@ def end_lottery_session(): chance_to_win = user.currently_held_lottery_tickets / len(raffle) * 100 if user.id == winner: notification_text = f'You won {active_lottery.prize} coins in the lottery! ' \ - + f'Congratulations!\nOdds of winning: {chance_to_win}%' + + f'Congratulations!\nYour odds of winning were: {chance_to_win}%' else: notification_text = f'You did not win the lottery. Better luck next time!\n' \ - + f'Odds of winning: {chance_to_win}%\nWinner: @{winning_user.username} (won {active_lottery.prize} coins)' + + f'Your odds of winning were: {chance_to_win}%\nWinner: @{winning_user.username} (won {active_lottery.prize} coins)' send_repeatable_notification(user.id, notification_text) user.currently_held_lottery_tickets = 0