aoc: filter for users that have stars

This commit is contained in:
Chris Sexton 2019-12-03 10:11:06 -05:00 committed by Chris Sexton
parent 4c69cefa39
commit 95cbada51d
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ func (p *AOC) message(c bot.Connector, kind bot.Kind, message msg.Message, args
msg := "AoC Leaderboard:\n"
for _, m := range members {
if m.Stars == 0 {
continue
}
trophy := ""
switch m.ID {
case goldID: