Fix some minor issues
This commit is contained in:
parent
0354224f46
commit
773cdf835c
@ -10,11 +10,13 @@ namespace ChaosBot.Database.Entity
|
||||
{
|
||||
this.id = id;
|
||||
this.userId = userId;
|
||||
this.guildId = guildId;
|
||||
}
|
||||
|
||||
public Raffle(string userId, string guildId)
|
||||
{
|
||||
this.userId = userId;
|
||||
this.guildId = guildId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -164,7 +164,7 @@ namespace ChaosBot.Discord.Modules
|
||||
|
||||
private void ClearRaffle(StringBuilder sb, bool noOutput = false)
|
||||
{
|
||||
int removed = RaffleRepository.Count();
|
||||
int removed = RaffleRepository.Count(Context.Guild.Id.ToString());
|
||||
|
||||
RaffleRepository.ClearRaffle(Context.Guild.Id.ToString());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user