#this isn’t really an error but more of a question

6 messages · Page 1 of 1 (latest)

primal moat
#

How would you exactly use the presence to detect if a specific role has online members? as i am trying to make a command that pings people on that role if they are online but i don't understand how presence work

rich cedarBOT
#
  • 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!
visual ivy
#

There maybe a better way ig, but this is what I'd do

#

Although I'm not sure how you plan to ping the members if you do not want to ping the role, it can be spammy (and possibly API abuse) if you are going to do it separately for each active member

primal moat