threadMembersUpdate doesn't being called sometimes

client.on('threadMembersUpdate', async (oldMembers, newMembers, thread) => {
console.log(thread.name, oldMembers, newMembers)
});
client.on('threadMembersUpdate', async (oldMembers, newMembers, thread) => {
console.log(thread.name, oldMembers, newMembers)
});
When there is a thread active and I restart the bot it wont be called for already joined members of the thread when they leave. After they rejoin it works again...
4 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!
Shahar
ShaharOP2mo ago
Shahar
ShaharOP2mo ago
got it, thanks it works

Did you find this page helpful?