Member role and welcome channel not working

Why is my code not working
No description
6 Replies
d.js toolkit
d.js toolkit6mo 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!
d.js docs
d.js docs6mo ago
If you aren't getting any errors, try to place console.log checkpoints throughout your code to find out where execution stops. - Once you do, log relevant values and if-conditions - More sophisticated debugging methods are breakpoints and runtime inspections: learn more
treble/luna
treble/luna6mo ago
and do you have the GuildMembers intent
felix2336
felix23366mo ago
and btw it is member.guild.channels.cache
treble/luna
treble/luna6mo ago
and that fetch is absolutely uneccesary too
felix2336
felix23366mo ago
yep

Did you find this page helpful?