M TODO => TODO +1 -1
@@ 1,5 1,5 @@
Features
-** Rework feed handling (don't cache feed in cfg? might be static not able to expand)
+* Automated g!dump'ing of config file (backups?)
* g!sum acid(1)
* Support for acid(1) in g!man
* Search man blocks other than 9front's
M mux.go => mux.go +2 -0
@@ 34,5 34,7 @@ func init() {
Router.Route("about", "General information about the bot.", Router.About)
+ Router.Route("beer", ":beer:", Router.Beer)
+
}
M x/mux/misc.go => x/mux/misc.go +8 -0
@@ 49,5 49,13 @@ func (m *Mux) Dump(ds *discordgo.Session, dm *discordgo.Message, ctx *Context) {
return
}
+// Beer, dude.
+func (m *Mux) Beer(ds *discordgo.Session, dm *discordgo.Message, ctx *Context) {
+ resp := ""
+ resp += ":beer:"
+ resp += "\n"
+ ds.ChannelMessageSend(dm.ChannelID, resp)
+ return
+}