D
D
David2020-09-24 16:10:04
Node.js
David, 2020-09-24 16:10:04

How to change or write Discord bot status?

Some discord bots have stats, usually it's "See the site...", etc., is it possible to write such code using JS and if so, how to do it?

An example of what I'm talking about.
5f6c9a9d68a95273542068.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Trigubin, 2020-09-24
@davidklushin

client.user.setActivity(`your text here`, { type: 'WATCHING' }) //WATCHING can be PLAYING,LISTENING,STREAMING
instead of WATCHING client.user.setStatus('idle') //it shows inactive status instead idle can also be offline (offline) and dnd (do not disturb)

I
Igor Makhov, 2020-09-24
@Igorgro

letmegooglethat.com/?q=discord+js+bot+status

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question