const { Client: SelbotClient } = require('discord.js-selfbot-v13');
const { ActivityType } = require('discord.js');

const selfbotClient = new SelbotClient();

const statuses = [
  { emoji: '🔥', text: 'lève-toi.' },
  { emoji: '💪', text: 'prouve-leur.' },
  { emoji: '⚡', text: 'fonce, réfléchis après.' },
  { emoji: '🏆', text: 'gagne en silence.' },
  { emoji: '😤', text: 'ils ont douté de toi.' },
  { emoji: '🎯', text: 'reste focus.' },
  { emoji: '👑', text: 't\'es fait pour ça.' },
  { emoji: '🚀', text: 'arrête d\'attendre.' },
  { emoji: '💎', text: 'la pression forme.' },
  { emoji: '✨', text: 'aujourd\'hui, tu avances.' }
];

let currentStatusIndex = 0;

function updateSelfbotStatus() {
  const current = statuses[currentStatusIndex];
  selfbotClient.user.setPresence({
    activities: [{
      name: current.text,
      type: ActivityType.Custom,
      emoji: { name: current.emoji }
    }],
    status: 'online'
  });
  currentStatusIndex = (currentStatusIndex + 1) % statuses.length;
}

selfbotClient.on('ready', async () => {
  console.log(`${selfbotClient.user.username} (Selfbot) is ready!`);
  updateSelfbotStatus();
  setInterval(updateSelfbotStatus, 3000);
});

selfbotClient.login('MTEwNjkwMDI5MDIzNTUzOTYyNg.G_G74i.nKIu1fXH-LOXIbeMb9AxcLD16zlj3evPL0V8hU');