Skip to content

Commit

Permalink
stop saving bot messages
Browse files Browse the repository at this point in the history
  • Loading branch information
coool9 authored and Southclaws committed Jan 31, 2024
1 parent 7488a6d commit 532393d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/discord.go
Expand Up @@ -89,7 +89,7 @@ func (app *App) onMessage(s *discordgo.Session, event *discordgo.MessageCreate)
}
}

if event.Message.Author.ID == app.config.BotID {
if event.Message.Author.Bot == true {
return
}

Expand Down

0 comments on commit 532393d

Please sign in to comment.