custom status discord bot code example

Example 1: custom status discord bot

client.on("ready", () =>{
    console.log(`Logged in as ${barry is skeetless
               }!`);
    client.user.setPresence({
        status: "online",  // You can show online, idle... Do not disturb is dnd
        game: {
            name: "!help",  // The message shown
            type: "PLAYING" // PLAYING, WATCHING, LISTENING, STREAMING,
        }
    });
 });

Example 2: custom status discord bot

client.on("ready", () =>{
    console.log(`Logged in as ${client.user.tag}!`);
    client.user.setPresence({
        status: "online",  // You can show online, idle... Do not disturb is dnd
        game: {
            name: "!help",  // The message shown
            type: "PLAYING" // PLAYING, WATCHING, LISTENING, STREAMING,
        }
    });
 });

Example 3: custom status discord bot

client.user.setActivity("with depression", {
  type: "STREAMING",
  url: url here"
});