🤖
Your BotAPP
Playing Minecraft
// Discord.js Activity Status Configuration
// Set bot's presence and activity

const { ActivityType } = require('discord.js');

client.once('ready', () => {
  client.user.setPresence({
    status: 'online',
    activities: [{
      name: 'Minecraft',
      type: ActivityType.Playing,
    }]
  });
  console.log(`Status set to Playing Minecraft`);
});

💡Quick Tips

  • Set presence in the ready event to ensure it applies when bot starts
  • Streaming status only shows purple badge with valid Twitch or YouTube URL
  • You can update presence dynamically using client.user.setPresence() anytime
  • Invisible status makes your bot appear offline but it still functions normally
  • Custom statuses have limited support for bots compared to user accounts
  • Use rotating activities to show different messages (implement with setInterval)
Powered by Mamba Host