Fix parts[] for dbeug set

This commit is contained in:
2021-05-06 08:37:26 -04:00
parent 3d174fd4f0
commit 4d8e33058a

View File

@ -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)