client.user.setActivity() doesnt work

thx. I’m already starting

Hi, i am facing the same issue
But my console said cannot read property (‘setActivity’) of null

Show the code you’re using for the activity

I have done it thanx for the reply

Thank you so much, I’ve been looking for this quite a lot time, by the way, the users, servers and channels log say undefined in all three, what can it be?