membercount as activity precence
I want to take the Member count and put in inside my precence so people can see it in the activity
my current code:
Error: membersCount is not defined-
I'm not even sure if this whole code is right..
13 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Your error does not reflect your code,
membersCount
isn't a thing, the memberCount
in your code is
I would also set a bigger intervali tried this
still not showin
i feel like im doing something hella wrong
Nop
This is for v13, my bad
It's a Typo lol
.setPresence
not .setPrecence
not the solution, sadly
or do I have to wait this interval after starting?
You have to can assign the code inside the interval to its own function
And call it before and inside the interval
I did
before the interval
And i get
TypeError [InvalidType]: Supplied activities[0].name is not a string.
I think its because its an Array in an ArrayWhy options is an array anyways?
Couldn't just be an object?
No error anymore...
but no activiety still
take text from options
You have a fix?
Can you help me fix it then?
so i delete the options const and just write in after the ":"?
sry i mean ":"
bro idk
truly
i forgot it
tell me
nice
do i even need it
i think with those answers, i just get to know what i know so or so
I just started blindly
like many other programmers did
Dont tell me non stop that i dont know javascript basic.
This isnt helping a beginner at all
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View