Debugging

This commit is contained in:
2021-05-06 06:52:58 -04:00
parent 29ab9296ec
commit 03ce2fe74a

View File

@ -17,6 +17,8 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
Message: m,
Parts: strings.Split(m.Content, " ")[1:],
}
} else {
log.LogDebug("strings.Contains(m.Content, s.State.User.ID) was false for %+v", m.Content)
}
if m.Author.ID == s.State.User.ID || m.Author.Bot {
return