From 89b0abde44e0108945e08234505713d9155f6737 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Wed, 3 Jun 2020 20:11:45 -0400 Subject: [PATCH] Updating Raffle status --- ChaosBot/Discord/Modules/RaffleSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChaosBot/Discord/Modules/RaffleSystem.cs b/ChaosBot/Discord/Modules/RaffleSystem.cs index a3c4ebf..66d078b 100644 --- a/ChaosBot/Discord/Modules/RaffleSystem.cs +++ b/ChaosBot/Discord/Modules/RaffleSystem.cs @@ -197,8 +197,8 @@ namespace ChaosBot.Discord.Modules { ulong userId = Convert.ToUInt64(user.Substring(3, user.Length-4)); - sb.AppendLine($"<@{userId}>, you have {_currentPot.GetValueOrDefault(userId)} rafflepoints."); - sb.AppendLine($"There is a total of {_currentPot.Values.Sum()} rafflepoints."); + sb.AppendLine($"<@{userId}>, you have {RaffleRepository.selectUser(userId.ToString()).Length} rafflepoints."); + sb.AppendLine($"There is a total of {RaffleRepository.all().Length} rafflepoints."); } } } \ No newline at end of file