Fix parts[] for dbeug set
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user