Problem with guildMemberRemove.js (duplicate leave message)

hi i have problem with my code, general when someone leave bot duplicate the message x2... but my guildMemberAdd looks VERY VERY same and send only 1 message ;/
18 Replies
d.js toolkit
d.js toolkit5d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
LukeZ
LukeZ5d ago
I remember having issues with duplicate join "messages". It was/is a Discord issue. It may be also for leave "messages"
Ehov
EhovOP5d ago
13
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs5d ago
:guide: Additional Information: Updating from v13 to v14 read more
Ehov
EhovOP5d ago
ok i will come back after changing
Ehov
EhovOP5d ago
No description
Ehov
EhovOP5d ago
ok...but here?
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
Ehov
EhovOP5d ago
No description
Ehov
EhovOP5d ago
same error
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
Ehov
EhovOP5d ago
ahh wait lmao ok i finally fixed that but i didnt understant next problem with "FLAGS"
Ehov
EhovOP5d ago
No description
No description
d.js docs
d.js docs5d ago
RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined - All SCREAMING_SNAKE_CASE enums have been changed to PascalCase - Intents: Intents.FLAGS.GUILD_MESSAGES -> GatewayIntentBits.GuildMessages - Permissions: Permissions.FLAGS.SEND_MESSAGES -> PermissionFlagsBits.SendMessages
Unknown User
Unknown User5d ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server