Custom discord bot status

How and where do I put a bot custom status? I’ve been trying a lot of different things and they don’t work.

Are you using master or stable version of Discord.js?

I have a few code example
since i am Unsure which Version Of Discord.js you may be Using

try this:

client.user.setActivity("Game"); 

or this

client.user.setActivity("with depression", {
  type: "STREAMING",
  url: "https://www.twitch.tv/monstercat"
});

or maybe this:

client.user.setStatus('dnd', 'Made by KwinkyWolf') 

Oh for and for that one dnd means Do Not Disturb

and let me get the List

  • online
  • idle
  • dnd
  • invisible it will apper offline

Just Type any of those in place dnd to change it

Hope those Help Let me know if they work

1 Like

Also worth having a look at https://discord.js.org/#/docs/main/stable/class/ClientUser?scrollTo=setPresence

1 Like

I type invisible and it won’t go offline.

It looks like it’s offline but it’s not kinda like how real users can do that too