Thanos should ignore his own messages.
This commit is contained in:
@ -26,7 +26,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||
Parts: strings.Split(m.Content, " ")[2:],
|
||||
})
|
||||
}
|
||||
if m.Author.Bot {
|
||||
if m.Author.Bot || m.Author.ID == s.State.User.ID {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user