M mux.go => mux.go +2 -0
@@ 44,5 44,7 @@ func init() {
Router.Route("whiskey", ":tumbler_glass:", Router.Whiskey)
+ Router.Route("wine", ":wine", Router.Wine)
+
Router.Route("remindme", "Set a reminder for a given time interval ([int][hmsd] [reminder]).", Router.RemindMe)
}
M x/mux/misc.go => x/mux/misc.go +11 -0
@@ 70,3 70,14 @@ func (m *Mux) Whiskey(ds *discordgo.Session, dm *discordgo.Message, ctx *Context
return
}
+
+// Wine, dude.
+func (m *Mux) Wine(ds *discordgo.Session, dm *discordgo.Message, ctx *Context) {
+ resp := ""
+ resp += ":wine:"
+ resp += "\n"
+
+ ds.ChannelMessageSend(dm.ChannelID, resp)
+
+ return
+}