A go.mod => go.mod +8 -0
@@ 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
+)
A go.sum => go.sum +10 -0
@@ 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=
M main.go => main.go +1 -1
@@ 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.`)
M mux.go => mux.go +1 -1
@@ 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)