This commit is contained in:
unintendedfraud
2023-05-06 11:29:29 +02:00
parent d1a8580ec5
commit 60dffc5ae7
+2
View File
@@ -9,6 +9,8 @@ import (
)
func OnMessageCreated(s *discordgo.Session, m *discordgo.MessageCreate) {
log.Printf("new message posted: [%s], par [%s]", m.Content, m.Author.Username)
if m.Author.ID == s.State.User.ID {
return
}