From 95cbada51d0058b1a3d963cd71e9c9cb815299f3 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 3 Dec 2019 10:11:06 -0500 Subject: [PATCH] aoc: filter for users that have stars --- plugins/aoc/aoc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/aoc/aoc.go b/plugins/aoc/aoc.go index 8dfac77..e6a6e61 100644 --- a/plugins/aoc/aoc.go +++ b/plugins/aoc/aoc.go @@ -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: