Compare commits

..

3 Commits

Author SHA1 Message Date
dependabot[bot] 723d165d37
build(deps): bump golang.org/x/image
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20190802002840-cff245a6509b to 0.10.0.
- [Commits](https://github.com/golang/image/commits/v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 13:25:23 +00:00
Chris Sexton 0b787a65a1 update code to mach datatype 2023-12-02 08:23:24 -05:00
Chris Sexton 9c4673fb40 maybe actually get the module this time 2023-12-02 08:23:24 -05:00
3 changed files with 4 additions and 4 deletions

2
go.mod
View File

@ -3,7 +3,7 @@ module github.com/velour/catbase
go 1.18 go 1.18
require ( require (
code.chrissexton.org/cws/getaoc v0.0.0-20201118154901-e4b21fc080c8 code.chrissexton.org/cws/getaoc v0.0.0-20231202052842-1b2a337b799d
github.com/ChimeraCoder/anaconda v2.0.0+incompatible github.com/ChimeraCoder/anaconda v2.0.0+incompatible
github.com/PuerkitoBio/goquery v1.8.0 github.com/PuerkitoBio/goquery v1.8.0
github.com/andrewstuart/openai v0.8.0 github.com/andrewstuart/openai v0.8.0

4
go.sum
View File

@ -30,8 +30,8 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
code.chrissexton.org/cws/getaoc v0.0.0-20201118154901-e4b21fc080c8 h1:1yyeO907xy6GHYUnZHDQfXf8YldlxF7mK+lneuardqk= code.chrissexton.org/cws/getaoc v0.0.0-20231202052842-1b2a337b799d h1:s2OEp4YDwfdKVZVkt2hrN/tZlbpHtC2GPNRYWgtqMDw=
code.chrissexton.org/cws/getaoc v0.0.0-20201118154901-e4b21fc080c8/go.mod h1:rEpfJR9MplF2TUj2Oy+u4XAaLve2kwB8I2zlzeIQxl8= code.chrissexton.org/cws/getaoc v0.0.0-20231202052842-1b2a337b799d/go.mod h1:rEpfJR9MplF2TUj2Oy+u4XAaLve2kwB8I2zlzeIQxl8=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
git.stuart.fun/andrew/rester/v2 v2.2.0 h1:h8VSZC1MKmYQdpbpbDRYg5HrPaqyW5lbU69C+433BAs= git.stuart.fun/andrew/rester/v2 v2.2.0 h1:h8VSZC1MKmYQdpbpbDRYg5HrPaqyW5lbU69C+433BAs=
git.stuart.fun/andrew/rester/v2 v2.2.0/go.mod h1:Uc4e4vUP/Y7bSmTE4U+eSqbREaoudpKOrHyhcSGWeHk= git.stuart.fun/andrew/rester/v2 v2.2.0/go.mod h1:Uc4e4vUP/Y7bSmTE4U+eSqbREaoudpKOrHyhcSGWeHk=

View File

@ -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