From 03ce2fe74a7aa915e371ab7d160aa940726d6446 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Thu, 6 May 2021 06:52:58 -0400 Subject: [PATCH] Debugging --- discordMessage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discordMessage.go b/discordMessage.go index 2b1b7d9..1cbb167 100644 --- a/discordMessage.go +++ b/discordMessage.go @@ -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