Updating for new ClearRaffle
This commit is contained in:
parent
8617dbae2f
commit
dee07b44f4
@ -162,10 +162,12 @@ namespace ChaosBot.Discord.Modules
|
||||
Raffle winner = RaffleRepository.PickRandom();
|
||||
sb.Append($"<@{winner.userId}> has won the raffle!");
|
||||
}
|
||||
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user