Thanos should ignore his own messages.

This commit is contained in:
2021-11-24 10:52:51 -05:00
parent 7aa9372eaf
commit 07d51266bb

View File

@ -26,7 +26,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
Parts: strings.Split(m.Content, " ")[2:], Parts: strings.Split(m.Content, " ")[2:],
}) })
} }
if m.Author.Bot { if m.Author.Bot || m.Author.ID == s.State.User.ID {
return return
} }