How often should client.user.setActivity() be used?

I currently set it to reset the activity every 10 minutes, but what's the max length of time I can set it to (while maintaining a constant status)?
8 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
vivian <3
vivian <3OP2y ago
Bot’s status disappears occasionally unless I manually reset the status Been like that for a while
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
vivian <3
vivian <3OP2y ago
If you’re talking about adding it via <client>.user.setActivity(), that’s what I already do
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
vivian <3
vivian <3OP2y ago
Huh alright thanks RIP string literal params Everything’s gotta be an object now lol most class and method params only take objects now (at least the ones i use)
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
vivian <3
vivian <3OP2y ago
never noticed it, only use setActivity(). oh well. how long does it take for setActivity() to go away though? (the status doesn't last, and i just want to know how long it stays for) dingdingding perfect. thanks a bunch for the clarification
Want results from more Discord servers?
Add your server