#Anyone know how to do this?

5 messages · Page 1 of 1 (latest)

sleek canopy
#

I made some base code for streaming, but it does not show up as Streaming as activity. Code below:

    console.log('Ready!');
    client.user.setPresence({
        activities: [{ name: `UKRRP Members`, type: ActivityType.Streaming  }],
        status: 'Online',
        url: "https://www.twitch.tv/mytwitchlink"}),
});```
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

vague rover
#

url must be inside Activity object, not Presence

sleek canopy
#

Ah, that's my stupidity then, sorry.

vague rover
#

And next time please set title that explains issue/exactly what is the question