mirror of https://github.com/velour/catbase.git
update code to mach datatype
This commit is contained in:
parent
9c4673fb40
commit
0b787a65a1
|
@ -65,7 +65,7 @@ func (p *AOC) aocCmd(r bot.Request) bool {
|
||||||
})
|
})
|
||||||
|
|
||||||
gold, silver, bronze := -1, -1, -1
|
gold, silver, bronze := -1, -1, -1
|
||||||
goldID, silverID, bronzeID := "", "", ""
|
goldID, silverID, bronzeID := -1, -1, -1
|
||||||
for _, m := range members {
|
for _, m := range members {
|
||||||
if m.LocalScore > gold {
|
if m.LocalScore > gold {
|
||||||
gold = m.LocalScore
|
gold = m.LocalScore
|
||||||
|
|
Loading…
Reference in New Issue