The CUSTOM_STATUS activity type is not available to bots (and therefore, you cannot set a custom status) However, all other activity types should be useable.
You can set the bot’s activity directly via ClientUser#setActivity
:
//for example ...
client.user.setActivity("a bunch of commands ", { type: "WATCHING" })
// Watching a bunch of commands
Notes: “client” is whatever you instantiated your client instance as (const someVar = new Discord.Client()
). Common alternative name(s) are “bot”, “automaton”, “discordbot”..etc..
You should place #setActivity
in an event listener (client.on("message" ...
, client.on("ready" ...
), to avoid problems with the client not being logged in yet.
CLICK HERE to find out more related problems solutions.