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 toolkit2mo 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 User2mo ago
Message Not Public
Sign In & Join Server To View
LukeZ
LukeZ2mo ago
I remember having issues with duplicate join "messages". It was/is a Discord issue. It may be also for leave "messages"
Ehov
EhovOP2mo ago
13
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs2mo ago
:guide: Additional Information: Updating from v13 to v14 read more
Ehov
EhovOP2mo ago
ok i will come back after changing
Ehov
EhovOP2mo ago
No description
Ehov
EhovOP2mo ago
ok...but here?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Ehov
EhovOP2mo ago
No description
Ehov
EhovOP2mo ago
same error
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Ehov
EhovOP2mo ago
ahh wait lmao ok i finally fixed that but i didnt understant next problem with "FLAGS"
Ehov
EhovOP2mo ago
No description
No description
d.js docs
d.js docs2mo 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 User2mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server