Debugging
This commit is contained in:
@ -17,6 +17,8 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|||||||
Message: m,
|
Message: m,
|
||||||
Parts: strings.Split(m.Content, " ")[1:],
|
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 {
|
if m.Author.ID == s.State.User.ID || m.Author.Bot {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user