Bot status

So I am currently scripting a discord bot using node.js but I cannot figure out how to make a bot status similar to this

I would really appreciate if anyone can tell me how to do this. Thanks!

You are viewing a single comment. View All

you can use this piece of code here.

In the last line you can put whatever status you want.