#Presence status error

1 messages · Page 1 of 1 (latest)

cursive plaza
tropic junco
#

send full code

cursive plaza
#

all intents are enabled

cursive plaza
#

this is not a command, just an eval

#

guild.members.cache.filter(x => x.user.presence == 'dnd').size?

tropic junco
#

oh

#

yes

#

sry

#

lol

cursive plaza
#

oh, ok

#

thanks

#

guild = message.guild

#

is already defined in the code

#

same error

steady comet
#

fetch the presence

cursive plaza
#

this started to happen after i upgraded to v13.0.1

agile anchorBOT
cursive plaza
#

presence.resolve?

steady comet
#

try fetching the member

#

even if you have the intent, djs does that to help performance

cursive plaza
#

I wanted to get the total number of people online in the guild

steady comet
#

yeah

cursive plaza
steady comet
#

fetch the guildmember

#

that'll give you the presence

cursive plaza
#

guild.members.fetch()?

steady comet
#

in an individual guildmember

#

not the manager

cursive plaza
#

ow, ok

steady comet
#

see