-1

I tried doing already but as you can see from the picture below it didn't work how can I fix it? code here what discord shows

1
  • Feedback: Don't post images of text. Post the actual text. See here for why.
    – starball
    Nov 13, 2022 at 7:26

2 Answers 2

0

Setting the client's activity would require the keyword activity instead of game

So, for example:

client.user.setPresence({
    activity: {
        name: 'Using -help',
        type: 'STREAMING',
        url: 'https://www.twitch.tv/yournamehere'
    },
    status: 'online',
})
0
0

You can make it also like this:

client.user.setActivity("Using -help", {type: "STREAMING", url: "Your Twitch URL"});

If a user now clicks on the Watch button, in your bots profile, he will get to your provided Twitch URL.

Not the answer you're looking for? Browse other questions tagged or ask your own question.