fix: Edit to ||

This commit is contained in:
Siwoo Jeon 2025-03-24 19:28:45 +09:00
parent acc4b02f99
commit 68c558a3d4
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -16,7 +16,7 @@ import (
// MessageCreate is handlers of messageCreate event
func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
config := configs.Config
if m.Author.ID == s.State.User.ID && m.Author.Bot {
if m.Author.ID == s.State.User.ID || m.Author.Bot {
return
}