Add mixes command
							parent
							
								
									0c5d70da8f
								
							
						
					
					
						commit
						538db40037
					
				|  | @ -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) | ||||
| } | ||||
|  |  | |||
|  | @ -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() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue