10 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPactivities is an array
oh so i have to find the activity with the name "Custom Status" ??
You can use the type as you were, but for every activity, not the array of activities itself
how would i go about doing that?
tried:
It's an array, so you index into it, and then access
type
, which is a property
This is basic JavaScriptah okay i see
i don't understand?? why is this returning a number?
Because you're using indexOf, which returns an index?
Do you know JavaScript?
alr bro ill just chat gpt it