From 2905b1698bc59dcb0aadc7742121b56ac6dd8e78 Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Fri, 1 May 2020 01:48:09 -0400 Subject: [PATCH] UwU --- commands.go | 5 +++++ pocketbot.go | 1 + 2 files changed, 6 insertions(+) diff --git a/commands.go b/commands.go index 4e1645d..a4b6e3e 100644 --- a/commands.go +++ b/commands.go @@ -206,3 +206,8 @@ func rollDice(s *discordgo.Session, m *discordgo.Message, ctx *mux.Context) { } 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*") +} diff --git a/pocketbot.go b/pocketbot.go index 27c3f56..a8313af 100644 --- a/pocketbot.go +++ b/pocketbot.go @@ -70,6 +70,7 @@ func main() { Router.Route("sleep", "Something about sleeping...", goToSleep) Router.Route("setplaying", "Set the nowplaying message for the bot.", setNowPlaying) Router.Route("roll", "Roll some dice!", rollDice) + Router.Route("uwu", "Say UwU", sayUwU) //Open a connection to Discord err = Session.Open()