diff --git a/discordMessage.go b/discordMessage.go index 193d497..dfd3204 100644 --- a/discordMessage.go +++ b/discordMessage.go @@ -45,6 +45,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { Message: m, Parts: strings.Split(m.Content, " ")[1:], } + log.LogDebug("%+v", b.Parts) for _, cmd := range commands { for _, keyword := range cmd.Keywords { log.LogDebug("Checking if %+v contains %+v", m.Content, keyword)