GuildMemberAdd event not working.
Context i am trying to make a welcome bot, it is grabing msg and the channel from a json file made by the config command
5 Replies
- 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!does that code run at all
also you dont need to fetch channels
they are cached by the Guilds intent
and the event doesnt emit with an interaction
only a GuildMember
how do i access the cache so i can get the channel by the channel id from the config json?
<Client>.channels.cache
ty