Updating for new ClearRaffle

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-06-03 20:39:20 -04:00
parent 8617dbae2f
commit dee07b44f4

View File

@ -165,7 +165,9 @@ namespace ChaosBot.Discord.Modules
private void ClearRaffle(StringBuilder sb, bool noOutput = false) private void ClearRaffle(StringBuilder sb, bool noOutput = false)
{ {
int Removed = RaffleRepository.ClearRaffle(); int Removed = RaffleRepository.Count();
RaffleRepository.ClearRaffle();
sb.AppendLine($"{Context.User.Mention} has cleared all {Removed} rafflepoints"); sb.AppendLine($"{Context.User.Mention} has cleared all {Removed} rafflepoints");
} }