pull/20/head
pocketjawa 2020-05-01 01:48:09 -04:00
parent e8aa115dfa
commit 2905b1698b
2 changed files with 6 additions and 0 deletions

View File

@ -206,3 +206,8 @@ func rollDice(s *discordgo.Session, m *discordgo.Message, ctx *mux.Context) {
} }
s.ChannelMessageSend(m.ChannelID, resp) s.ChannelMessageSend(m.ChannelID, resp)
} }
//Test command that says UwU
func sayUwU(s *discordgo.Session, m *discordgo.Message, ctx *mux.Context) {
s.ChannelMessageSend(m.ChannelID, "UwU *nuzzles*")
}

View File

@ -70,6 +70,7 @@ func main() {
Router.Route("sleep", "Something about sleeping...", goToSleep) Router.Route("sleep", "Something about sleeping...", goToSleep)
Router.Route("setplaying", "Set the nowplaying message for the bot.", setNowPlaying) Router.Route("setplaying", "Set the nowplaying message for the bot.", setNowPlaying)
Router.Route("roll", "Roll some dice!", rollDice) Router.Route("roll", "Roll some dice!", rollDice)
Router.Route("uwu", "Say UwU", sayUwU)
//Open a connection to Discord //Open a connection to Discord
err = Session.Open() err = Session.Open()