Update dependencies
This commit is contained in:
parent
5e4b4e6d97
commit
3134ae19c8
3 changed files with 12 additions and 6 deletions
|
@ -352,6 +352,8 @@ func (c *Client) HandleEvents() {
|
|||
if nonAlpha.ReplaceAllString(strings.ToLower(ev.Message), "") == "brb" {
|
||||
c.lastActivity = time.Now().Add(10 * time.Minute)
|
||||
c.Out <- []byte("say I will wait 15 minutes for your return.")
|
||||
} else if nonAlpha.ReplaceAllString(strings.ToLower(ev.Message), "") == "rematch" {
|
||||
c.Out <- []byte("say Don't forget the slash at the beginning, type: /rematch")
|
||||
}
|
||||
case *bgammon.EventList:
|
||||
case *bgammon.EventJoined:
|
||||
|
|
6
go.mod
6
go.mod
|
@ -3,7 +3,9 @@ module code.rocket9labs.com/tslocum/bgammon-tabula-bot
|
|||
go 1.17
|
||||
|
||||
require (
|
||||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231216194153-c9af67582086
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231218065345-a46a92776b3a
|
||||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231223081447-262d006c714c
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231223084935-b3664645e2f7
|
||||
nhooyr.io/websocket v1.8.10
|
||||
)
|
||||
|
||||
require code.rocket9labs.com/tslocum/bei v0.0.0-20231222205835-c070d7c7d5f8 // indirect
|
||||
|
|
10
go.sum
10
go.sum
|
@ -1,6 +1,8 @@
|
|||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231216194153-c9af67582086 h1:qOYLry2M1yCCb4oNQRQclhDtjyNc8sQfpqliEaxdi1k=
|
||||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231216194153-c9af67582086/go.mod h1:CqB9JoG/fvQUT26kcmGQPBUbpJKR12ya34ZwYgjw7Lk=
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231218065345-a46a92776b3a h1:NqF9wy42s2XyKncoM6FAa3gQStqkAn4FUmPl5AI+YY4=
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231218065345-a46a92776b3a/go.mod h1:XtS6M8qcK0fnUn4k5I7h4JcZ2sz2WEAXOcF2DLaQBME=
|
||||
code.rocket9labs.com/tslocum/bei v0.0.0-20231222205835-c070d7c7d5f8 h1:QefJxcMg2aneCZuoHPpnDOTsing1mehImilbyyT3SwU=
|
||||
code.rocket9labs.com/tslocum/bei v0.0.0-20231222205835-c070d7c7d5f8/go.mod h1:tS60/VNAJphKvDBkSLQhKALa15msIAuWWfEKNc4oFZc=
|
||||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231223081447-262d006c714c h1:ri5THzKvxE5WqAH/d/U6gXunHJx2cwYUWrer8YQ0QEk=
|
||||
code.rocket9labs.com/tslocum/bgammon v0.0.0-20231223081447-262d006c714c/go.mod h1:pM1hNhG/vKgk4Ktpszv5duQ3gJMrawO6gwotpJjHxyE=
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231223084935-b3664645e2f7 h1:CPnLFa2K1ynCrElQ4YBNIYsa3eQAtlNPdcCO2nxNmc0=
|
||||
code.rocket9labs.com/tslocum/tabula v0.0.0-20231223084935-b3664645e2f7/go.mod h1:xi5drJjaVuqa9P8GyRAQMsI6FpxXjwPrlxYoVbzYxdI=
|
||||
nhooyr.io/websocket v1.8.10 h1:mv4p+MnGrLDcPlBoWsvPP7XCzTYMXP9F9eIGoKbgx7Q=
|
||||
nhooyr.io/websocket v1.8.10/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c=
|
||||
|
|
Loading…
Reference in a new issue