diff --git a/discord/handlers.go b/discord/handlers.go index bde38c5..dcd1578 100644 --- a/discord/handlers.go +++ b/discord/handlers.go @@ -5,3 +5,7 @@ import "github.com/bwmarrin/discordgo" func newCringe(s *discordgo.Session, m *discordgo.MessageCreate) { s.ChannelMessageSend(m.ChannelID, "this is a test message right from the new command system!") } + +func newSendPepe(s *discordgo.Session, m *discordgo.MessageCreate) { + s.ChannelMessageSend(m.ChannelID, "cmd not yet working, but this needed to be registered otherwise the code would break") +} diff --git a/discord/main.go b/discord/main.go index c69c5bf..247451d 100644 --- a/discord/main.go +++ b/discord/main.go @@ -65,6 +65,7 @@ func main() { mux := NewCommandMux() mux.prefix = "!newpepe" mux.HandleFunc("newcringe", newCringe) + mux.HandleFunc(mux.prefix, newSendPepe) app := &application{ infoLog: infoLog,