diff --git a/commands.go b/commands.go index a61c829..7d9afb3 100644 --- a/commands.go +++ b/commands.go @@ -31,3 +31,9 @@ func makiMonday(s *discordgo.Session, m *discordgo.Message, ctx *mux.Context) { resp := "https://maki.jawa.moe/monday.png" s.ChannelMessageSend(m.ChannelID, resp) } + +//Post link to mixes B) +func postMixes(s *discordgo.Session, m *discordgo.Message, ctx *mux.Context) { + resp := "https://maki.jawa.moe/mixes/" + s.ChannelMessageSend(m.ChannelID, resp) +} diff --git a/pocketbot.go b/pocketbot.go index 791e9bc..040386a 100644 --- a/pocketbot.go +++ b/pocketbot.go @@ -55,6 +55,7 @@ func main() { Router.Route("swear", "Make me swear!", getSwear) Router.Route("maki", "It's Maki Monday my dudes!", makiMonday) Router.Route("monday", "It's Maki Monday my dudes!", makiMonday) + Router.Route("mixes", "Post the link to my fire mixtapes!", postMixes) //Open a connection to Discord err = Session.Open()