Home > Software design >  How can I change my bots status icon to streaming in discord.js
How can I change my bots status icon to streaming in discord.js

Time:06-05

How to I change this to the Streaming icon. So far I have this much:

client.user.setActivity('with the Threads of the Universe', { type: ActivityType.Streaming });

But how can I change the actual icon?

CodePudding user response:

Try this you must add status: 'online', and you can change this on status: "idle" // online, idle, invisible, dnd

client.user.setActivity('with the Threads of the Universe', { type: ActivityType.Streaming status: 'online', });

and if you need stream Status use this

client.user.setActivity("Hello world.", {
  type: "STREAMING",
  url: "https://www.twitch.tv/yourchannle"
});
  • Related