From d110c646efd564a13e5ca00d00c0806b47feb068 Mon Sep 17 00:00:00 2001 From: Henesy Date: Thu, 20 May 2021 23:49:33 +0000 Subject: [PATCH] update deps ;; use go module --- go.mod | 8 ++++++++ go.sum | 10 ++++++++++ main.go | 2 +- mux.go | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000000000000000000000000000000000..a9b5a7d5e81c0023e39240ada60c292a6fcbc38f --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/henesy/glenda + +go 1.15 + +require ( + github.com/SlyMarbo/rss v1.0.1 + github.com/bwmarrin/discordgo v0.23.2 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000000000000000000000000000000000000..0c8d771e8bc85967e73070b3b692aed866bc8ed5 --- /dev/null +++ b/go.sum @@ -0,0 +1,10 @@ +github.com/SlyMarbo/rss v1.0.1 h1:fiaIU5UhcXauVOniHOIocWG7uj8Ej6pHNarMGPJilzA= +github.com/SlyMarbo/rss v1.0.1/go.mod h1:JNF+T33oj4m5WLCQXpBTCgO+SxRbYVgdiiimHNgzcbA= +github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394 h1:OYA+5W64v3OgClL+IrOD63t4i/RW7RqrAVl9LTZ9UqQ= +github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394/go.mod h1:Q8n74mJTIgjX4RBBcHnJ05h//6/k6foqmgE45jTQtxg= +github.com/bwmarrin/discordgo v0.23.2 h1:BzrtTktixGHIu9Tt7dEE6diysEF9HWnXeHuoJEt2fH4= +github.com/bwmarrin/discordgo v0.23.2/go.mod h1:c1WtWUGN6nREDmzIpyTp/iD3VYt4Fpx+bVyfBG7JE+M= +github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16 h1:y6ce7gCWtnH+m3dCjzQ1PCuwl28DDIc3VNnvY29DlIA= +golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= diff --git a/main.go b/main.go index 8d2e5d9473eb910a9f40c3df7951e00765f6f54d..5d90e41b3285868899a0921e12e73a7676b61e25 100644 --- a/main.go +++ b/main.go @@ -85,7 +85,7 @@ func main() { mux.RemChan = make(chan mux.Reminder, 5) go mux.Reminders() - Session.UpdateStatus(0, "with #cat-v") + Session.UpdateGameStatus(0, "with #cat-v") // Wait for a CTRL-C log.Printf(`Now running on PID ` + sc.Itoa(os.Getpid()) + `. Press CTRL-C to exit.`) diff --git a/mux.go b/mux.go index 310bcab2a944409048695c552485823a8bf0d891..d6e99a5053eef559c98c091fe88e5b1ba103d7eb 100644 --- a/mux.go +++ b/mux.go @@ -59,7 +59,7 @@ func init() { Router.Route("wine", ":wine_glass:", Router.Wine) Router.Route("uptime", "Current bot uptime", Router.Uptime) - + Router.Route("gridlink", "Convert griddisk paths to 'incoming' URL's", Router.GridLink) Router.Route("roll", "Roll dice in the form XdY", Router.Roll)