member presence is undefined
I want to get an console output of a members activity but it just returns undefined. Please help
10 Replies
That it the code
Not all members have a presence, especially if you dont have the GuildPresences intent enabled
i have got the GuildPresences enabled
and also, i am testing it with me playing a game
but it still says undefined
So which part is saying undefined
line 74
I dont see how that could be undefined, but line 68 not throw an error
maybe its line 66?
Is the definition of the member right?
But you told me it was line 74, so what is it
i am trying to get the activity of the member that is joining the voice channel and outputting it in line 74, but if i define the member in line 66 wrong than im not gonna have an activity
my english is bad because im german btw. sry
Yes i have got that and in the code above i have got GatewayIntentetBits.GuildPresences or something like that