#Member role and welcome channel not working

6 messages · Page 1 of 1 (latest)

uncut star
#

Why is my code not working

fresh tinselBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
flat stratusBOT
#

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
summer heart
#

and do you have the GuildMembers intent

full relic
#

and btw it is member.guild.channels.cache

summer heart
#

and that fetch is absolutely uneccesary too