fix: Edit to ||
This commit is contained in:
parent
acc4b02f99
commit
68c558a3d4
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
||||||
// MessageCreate is handlers of messageCreate event
|
// MessageCreate is handlers of messageCreate event
|
||||||
func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
config := configs.Config
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue