Skip to content
Bot status
Profile icon

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
Profile icon

const discord = require("discord.js");
const client = new discord.Client()
const { prefix, ServerID } = require("./config.json")
const config = require('./config.json');

client.on("ready", () => {

console.log("Bot online") client.user.setActivity("?help", {type: 'WATCHING' }).catch(console.error); });