Updating for new ClearRaffle
This commit is contained in:
parent
8617dbae2f
commit
dee07b44f4
@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user