mirror of https://github.com/velour/catbase.git
aoc: filter for users that have stars
This commit is contained in:
parent
4c69cefa39
commit
95cbada51d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue