#guildMemberAvailable

11 messages · Page 1 of 1 (latest)

mint horizon
#

why this event not fire with me

  console.log(member.displayName)
});```
alpine nicheBOT
#
  • 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!
strong monolith
#

That event will fire when a previously uncached member is added to the cache. When do you expect that to fire and what intents do you have?

mint horizon
#
  partials:[Discord.Partials.Channel,Discord.Partials.GuildMember,Discord.Partials.Message],
  intents: 48991,
});```
#

ithink this event fire when member offline be come online

#

is any way to do that?

strong monolith
#

That would be presenceUpdate

#

Don’t use magic numbers for intents, use an array instead

cloud galeBOT
#
  • Websocket intents limit events and decrease memory usage: learn more
  • See what intents you need here
strong monolith
#

That way everyone (including you) can see on a glance what intents you do or don’t have