r/Discord_selfbots • • Jan 13 '25

❗ Announcement Monthly Advertisement Thread

7 Upvotes

Starts: 13/01/2025 - End: 13/02/2025 (EXTENDED)

Hello! Welcome to the (now) Monthly Advertisement Thread. This is a thread where advertisers and buyers can freely promote their services or look for products to buy. Every week, there will be a new thread, and the old one will be locked, ensuring that the content stays fresh and relevant while also filtering active sellers and buyers from inactive ones.

Rules:

  • One post per person.
  • One service can be advertised only once.
  • Please ask and answer all questions in the comments. DMs are only for finalizing deals. (Do not ask for people to DM you for more information)
  • Scamming is not allowed. (IP Ban + comment deleted)
  • Be upfront. Include prices in your comment or it'll get removed.

Purchase at your own risk. Only you can keep yourself safe. We do not endorse any service, so please be careful.

Observation: Thread is now monthly.


r/Discord_selfbots • • Dec 22 '24

❗ Announcement New Rule: Keep all discussions open

15 Upvotes

If you've ever searched for a solution to your problem on this subreddit, chances are you've encountered a situation like this:

User1: Hi, I need help fixing an issue with slash commands.
User2: I can help you. Just DM me on Discord: xxstealerguyxx.

It’s not hard to guess what happens next. After User1 DMs User2, User2 is likely to send malware, advertise a service, or engage in some other malicious activity. In rare cases, User2 might actually help, but their assistance will be in private messages. This means the solution won’t be public, depriving the thread’s thousands of future viewers of any benefit.

To address this, we’ve implemented a new rule. Effective immediately, Rule 8 prohibits this behavior, with the objective of making the subreddit a better place for assistance, whilst making it much safer.

P.S: Feel free to discuss about the rule in the comments, and if you disagree with it, send your arguments via ModMail. We are open to change given enough people disagree with it.


r/Discord_selfbots • • 20m ago

🙏 Bot Request Message Logger

Post image
1 Upvotes

It’s like two years old. Was able to collect messages containing certain keywords; or from a certain user; or any specified channel in any server. Then would post the messages collected in a message feed as seen above. How on earth do I make this and how did they make it so well.


r/Discord_selfbots • • 8h ago

❔ Question Game badge spoofer

1 Upvotes

I'm working on a Discord game badge spoofer bot, but I'm running into an issue with the badges. The Game Variety badge works perfectly, but the Game Time badge usually only goes up to the 300-hour level and won't progress any further.

Nothing shows up in my logs, and yes, I'm aware of the 24–48 hour synchronization period.

// Badge Runner — converts BadgeMaxxer.py logic to JS.
// Uses Discord's telemetry API (/api/v9/science) to send
// game events (launch_game + running_game_heartbeat) that count
// toward the Game Variety and Game Time badges.

const https = require('https');
const crypto = require('crypto');
const { MessageFlags, ContainerBuilder, SeparatorSpacingSize } = require('discord.js');

// ── Constants ──────────────────────────────────────────────────────────────────

const TELEMETRY_URL = '/api/v9/science';
const IDENTITY_URL = '/api/v9/users/@me?with_analytics_token=true';
const CATALOG_URL = 'https://cdn.discordapp.com/detectables/games.json';
const BATCH_LIMIT = 50;
const NETWORK_COOLDOWN_MS = 1000; // 1s between batches (same as original spoofer.py)

const USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9253 Chrome/148.0.7778.280 Electron/42.7.1 Safari/537.36';
const CLIENT_LOCALE = 'en-US';
const CLIENT_TIMEZONE = 'UTC';

const LOADING = '<a:308215loading:1542993472749969489>';
const TICK = '<:tick:1533064242280796200>';
const CROSS = '<:x:1533064240661794866>';

// Game Variety tiers (number of different games)
const VARIETY_TIERS = [
  { level: 1, name: 'Experimenter', games: 2 },
  { level: 2, name: 'Excursionist', games: 5 },
  { level: 3, name: 'Enthusiast', games: 10 },
  { level: 4, name: 'Ranger', games: 15 },
  { level: 5, name: 'Explorer', games: 20 },
  { level: 6, name: 'Adventurer', games: 30 },
  { level: 7, name: 'Navigator', games: 40 },
  { level: 8, name: 'Globetrotter', games: 60 },
  { level: 9, name: 'Polymath', games: 80 },
  { level: 10, name: 'Universalist', games: 100 },
];

// Game Time tiers (hours played)
const TIME_TIERS = [
  { level: 1, name: 'Casual', hours: 1 },
  { level: 2, name: 'Recreational', hours: 5 },
  { level: 3, name: 'Dedicated', hours: 20 },
  { level: 4, name: 'Committed', hours: 75 },
  { level: 5, name: 'Serious', hours: 150 },
  { level: 6, name: 'Devoted', hours: 300 },
  { level: 7, name: 'Veteran', hours: 500 },
  { level: 8, name: 'Staunch', hours: 1000 },
  { level: 9, name: 'Unshakeable', hours: 2000 },
  { level: 10, name: 'Eternal', hours: 5000 },
];

// ── Utilities ──────────────────────────────────────────────────────────────────

function sleep(ms) {
  return new Promise((resolve) => setTimeout(resolve, ms));
}

function httpsRequest(hostname, path, method, headers, body = null) {
  return new Promise((resolve) => {
    const bodyStr = body ? (typeof body === 'string' ? body : JSON.stringify(body)) : null;
    const options = {
      hostname,
      path,
      method,
      headers: {
        ...headers,
        ...(bodyStr ? { 'content-length': Buffer.byteLength(bodyStr) } : {}),
      },
    };

    const req = https.request(options, (res) => {
      const chunks = [];
      res.on('data', (chunk) => chunks.push(chunk));
      res.on('end', () => {
        const raw = Buffer.concat(chunks).toString();
        let data = null;
        try { data = JSON.parse(raw); } catch { data = raw; }
        resolve({ status: res.statusCode, data });
      });
    });

    req.on('error', (err) => resolve({ status: 0, data: { message: err?.message || 'Request failed' } }));
    if (bodyStr) req.write(bodyStr);
    req.end();
  });
}

function httpsGet(url) {
  return new Promise((resolve, reject) => {
    https.get(url, { headers: { 'user-agent': 'Mozilla/5.0' } }, (res) => {
      const chunks = [];
      res.on('data', (c) => chunks.push(c));
      res.on('end', () => {
        try {
          resolve(JSON.parse(Buffer.concat(chunks).toString()));
        } catch (e) {
          reject(e);
        }
      });
    }).on('error', reject);
  });
}

// ── Super Properties ────────────────────────────────────────────────────────────

const DESKTOP_CLIENT_VERSION = '1.0.9253';
const DESKTOP_BUILD_NUMBER = 594031;
const NATIVE_BUILD_NUMBER = 88414;
const PLATFORM_OS_VERSION = '10.0.26200';
const BROWSER_VERSION = '42.7.1';

function localFallbackProps() {
  return {
    os: 'Windows',
    browser: 'Discord Client',
    release_channel: 'stable',
    client_version: DESKTOP_CLIENT_VERSION,
    os_version: PLATFORM_OS_VERSION,
    os_arch: 'x64',
    app_arch: 'x64',
    system_locale: 'en-US',
    has_client_mods: false,
    browser_user_agent: USER_AGENT,
    browser_version: BROWSER_VERSION,
    os_sdk_version: '26200',
    client_build_number: DESKTOP_BUILD_NUMBER,
    native_build_number: NATIVE_BUILD_NUMBER,
    client_event_source: null,
    client_app_state: 'focused',
  };
}

async function buildSuperProperties(launchSignature, heartbeatSessionId) {
  let props;
  try {
    const res = await httpsRequest('cordapi.dolfi.es', '/api/v2/properties/windows', 'POST',
      { 'content-type': 'application/json', 'user-agent': USER_AGENT }, '{}');
    if (res.status === 200 && res.data?.properties) {
      props = res.data.properties;
    } else {
      props = localFallbackProps();
    }
  } catch {
    props = localFallbackProps();
  }
  props.client_launch_id = crypto.randomUUID();
  props.launch_signature = launchSignature;
  props.client_heartbeat_session_id = heartbeatSessionId;
  return Buffer.from(JSON.stringify(props)).toString('base64');
}

// ── Fetch Game Catalog ──────────────────────────────────────────────────────────

async function fetchGameCatalog() {
  const payload = await httpsGet(CATALOG_URL);
  const catalog = [];
  const seenIds = new Set();

  for (const item of payload) {
    const id = String(item.id || '');
    if (!id || !/^\d+$/.test(id) || seenIds.has(id)) continue;

    // Must have a Windows executable
    const exes = item.executables || [];
    const winExe = exes.find((e) => e.os === 'win32' && e.name);
    if (!winExe) continue;

    seenIds.add(id);
    catalog.push({
      id,
      name: item.name || 'Unknown Game',
      exe: winExe.name,
    });
  }

  return catalog;
}

// ── Analytics Token ─────────────────────────────────────────────────────────────

async function getAnalyticsToken(userToken, superProps) {
  const res = await httpsRequest('discord.com', IDENTITY_URL, 'GET', {
    authorization: userToken,
    'user-agent': USER_AGENT,
    'x-super-properties': superProps,
  });

  if (res.status === 401) {
    throw new Error('UNAUTHORIZED');
  }

  if (res.status >= 400 || !res.data?.analytics_token) {
    throw new Error(`Failed to obtain analytics_token (status ${res.status})`);
  }

  return res.data.analytics_token;
}

// ── Fetch Cookie ────────────────────────────────────────────────────────────────

// Fetches base Discord cookies (GET /app) — returns __dcfduid, __sdcfduid, __cfruid.
// Cloudflare's cf_clearance is NOT returned on this route (requires JS challenge in browser),
// so it needs to be provided by the user if necessary.
async function fetchBaseCookie() {
  return new Promise((resolve) => {
    const req = https.request({
      hostname: 'discord.com',
      path: '/app',
      method: 'GET',
      headers: {
        'user-agent': USER_AGENT,
        'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
        'accept-language': 'en-US,en;q=0.9',
        'sec-fetch-dest': 'document',
        'sec-fetch-mode': 'navigate',
        'sec-fetch-site': 'none',
      },
    }, (res) => {
      const setCookies = res.headers['set-cookie'] || [];
      const pairs = setCookies.map((c) => c.split(';')[0].trim()).filter((p) => p.includes('='));
      res.resume();
      res.on('end', () => resolve(pairs.join('; ')));
    });
    req.on('error', () => resolve(''));
    req.end();
  });
}

// Merges base Discord cookies with an extra cookie from the user (e.g., cf_clearance).
// The extra cookie takes priority (overwrites duplicate keys).
function mergeCookies(baseCookie, extraCookie) {
  if (!extraCookie) return baseCookie || '';
  if (!baseCookie) return extraCookie;

  const cookieMap = new Map();

  // Parse base cookies
  for (const pair of baseCookie.split(';')) {
    const trimmed = pair.trim();
    const eqIdx = trimmed.indexOf('=');
    if (eqIdx > 0) cookieMap.set(trimmed.substring(0, eqIdx).trim(), trimmed);
  }

  // Parse extra cookies (overwrite)
  for (const pair of extraCookie.split(';')) {
    const trimmed = pair.trim();
    const eqIdx = trimmed.indexOf('=');
    if (eqIdx > 0) cookieMap.set(trimmed.substring(0, eqIdx).trim(), trimmed);
  }

  return Array.from(cookieMap.values()).join('; ');
}

// ── Telemetry Event Fabricator ──────────────────────────────────────────────────

class TelemetryFabricator {
  constructor(heartbeatSessionId, launchSignature) {
    this.heartbeatSessionId = heartbeatSessionId;
    this.launchSignature = launchSignature;
    this.sequenceIndex = 0;
  }

  nextSequence() {
    return ++this.sequenceIndex;
  }

  buildLaunchEvent(game) {
    const now = Date.now();
    return {
      type: 'launch_game',
      properties: {
        client_track_timestamp: now,
        client_heartbeat_session_id: this.heartbeatSessionId,
        event_sequence_number: this.nextSequence(),
        game: game.name,
        game_id: game.id,
        verified: true,
        elevated: false,
        is_launcher: false,
        game_platform: 'desktop',
        detection_method: 'verified_game',
        is_overlay_enabled: false,
        is_overlay_game_enabled: true,
        is_overlay_game_source: 'OOP_DEFAULT_DATABASE',
        fullscreen_type: 'UNKNOWN',
        hardware_display_count: 1,
        overlay_method: 'Disabled',
        activity_status_enabled: true,
        activity_status_shared_guilds: [],
        current_user_status: 'online',
        game_detection_enabled: true,
        executable_path: game.exe,
        voice_channel_id: null,
        voice_channel_type: null,
        voice_channel_bitrate: null,
        voice_channel_guild_id: null,
        hidden_by_distributor: false,
        game_metadata: null,
        client_performance_cpu: null,
        client_performance_memory: null,
        cpu_core_count: null,
        accessibility_features: 0,
        rendered_locale: CLIENT_LOCALE,
        launch_signature: this.launchSignature,
        client_rtc_state: null,
        client_app_state: 'focused',
        client_send_timestamp: now,
      },
    };
  }

  buildHeartbeatEvent(game, durationMs, sessionId, isInitial, isFinal, eventTimeMs = null) {
    const ts = eventTimeMs || Date.now();
    return {
      type: 'running_game_heartbeat',
      properties: {
        client_track_timestamp: ts,
        client_heartbeat_session_id: this.heartbeatSessionId,
        event_sequence_number: this.nextSequence(),
        game_id: game.id,
        game_name: game.name,
        game_metadata: null,
        game_executable: game.exe,
        game_detection_enabled: true,
        initial_heartbeat: isInitial,
        final_heartbeat: isFinal,
        game_session_id: sessionId,
        duration_tracked_ms: durationMs,
        rtc_connection_id: null,
        media_session_id: null,
        launch_signature: this.launchSignature,
        client_app_state: 'focused',
        client_send_timestamp: ts,
      },
    };
  }

  buildCompleteSession(game, durationMs, timeOffset = 0) {
    const sessionId = crypto.randomUUID();
    const now = Date.now() - timeOffset;
    const origin = Math.max(0, now - durationMs);

    return [
      this.buildHeartbeatEvent(game, 0, sessionId, true, false, origin),
      this.buildLaunchEvent(game),
      this.buildHeartbeatEvent(game, durationMs, sessionId, false, true, now),
    ];
  }
}

// ── Post Telemetry Batch ────────────────────────────────────────────────────────

async function postTelemetryBatch(analyticsToken, userToken, cookie, superProps, events) {
  const envelope = { token: analyticsToken, events };
  const headers = {
    accept: '*/*',
    'accept-language': CLIENT_LOCALE,
    authorization: userToken,
    'content-type': 'application/json',
    cookie: cookie || '',
    origin: 'https://discord.com',
    referer: 'https://discord.com/channels/@me',
    'user-agent': USER_AGENT,
    'x-debug-options': 'bugReporterEnabled',
    'x-discord-locale': CLIENT_LOCALE,
    'x-discord-timezone': CLIENT_TIMEZONE,
    'x-super-properties': superProps,
  };

  const res = await httpsRequest('discord.com', TELEMETRY_URL, 'POST', headers, envelope);
  return res.status;
}

// ── Build DM Progress Message ───────────────────────────────────────────────────

function buildVarietyProgress(currentGameCount, totalGames, tiers) {
  let text = `## ${LOADING} Game Variety — Progress\n\n`;

  for (const tier of tiers) {
    if (currentGameCount >= tier.games) {
      text += `${TICK} **${tier.name}** — ${tier.games} games ✔\n`;
    } else if (currentGameCount > 0 && currentGameCount < tier.games) {
      text += `${LOADING} **${tier.name}** — ${tier.games} games (${currentGameCount}/${tier.games})\n`;
    } else {
      text += `⬛ **${tier.name}** — ${tier.games} games\n`;
    }
  }

  text += `\n> Sending ${currentGameCount}/${totalGames} games...`;
  text += `\n\n*Badge progress usually syncs within 24 to 48 hours.*`;

  return text;
}

function buildTimeProgress(currentHours, tiers, totalTargetHours = 5000) {
  let text = `## ${LOADING} Game Time — Progress\n\n`;

  for (const tier of tiers) {
    if (currentHours >= tier.hours) {
      text += `${TICK} **${tier.name}** — ${tier.hours} hours ✔\n`;
    } else if (currentHours > 0 && currentHours < tier.hours) {
      text += `${LOADING} **${tier.name}** — ${tier.hours} hours (${currentHours.toFixed(0)}/${tier.hours}h)\n`;
    } else {
      text += `⬛ **${tier.name}** — ${tier.hours} hours\n`;
    }
  }

  text += `\n> Sending ${currentHours.toFixed(0)}/${totalTargetHours} hours...`;
  text += `\n\n*Badge progress usually syncs within 24 to 48 hours.*`;

  return text;
}

function buildFinalMessage(type, success, error = null) {
  if (success) {
    return `## ${TICK} ${type} — Completed!\n\nAll tiers were processed successfully.\n\n*Badge progress usually syncs within 24 to 48 hours.*`;
  }
  return `## ${CROSS} ${type} — Error\n\n> ${error || 'Unknown error.'}`;
}

// ── Run Game Variety ────────────────────────────────────────────────────────────

async function runGameVariety(userToken, discordUser, extraCookie) {
  let dmMessage = null;

  try {
    dmMessage = await discordUser.send({
      content: `## ${LOADING} Game Variety — Starting...\n\n> Loading game catalog and preparing session...`,
    });
  } catch {
    console.error('[GameVariety] DM closed.');
    return;
  }

  try {
    // 1. Load catalog
    const catalog = await fetchGameCatalog();
    if (!catalog.length) throw new Error('Game catalog is empty.');

    // 2. Prepare session
    const heartbeatSessionId = crypto.randomUUID();
    const launchSignature = crypto.randomUUID();
    const superProps = await buildSuperProperties(launchSignature, heartbeatSessionId);
    const analyticsToken = await getAnalyticsToken(userToken, superProps);
    const baseCookie = await fetchBaseCookie();
    const cookie = mergeCookies(baseCookie, extraCookie);
    const fabricator = new TelemetryFabricator(heartbeatSessionId, launchSignature);

    // 3. For variety: send 100+ different games with 1h each
    const targetGames = Math.min(catalog.length, 110);
    const hoursPerGame = 1;
    const durationMs = hoursPerGame * 60 * 60 * 1000;

    // Shuffle catalog
    const shuffled = [...catalog].sort(() => Math.random() - 0.5).slice(0, targetGames);

    let processed = 0;
    let failed = 0;

    // Process in batches (each game generates 3 events, so ~16 games per batch of 50)
    const gamesPerBatch = Math.floor(BATCH_LIMIT / 3);

    for (let i = 0; i < shuffled.length; i += gamesPerBatch) {
      const chunk = shuffled.slice(i, i + gamesPerBatch);
      const events = [];

      for (let j = 0; j < chunk.length; j++) {
        const game = chunk[j];
        // Space timestamps to simulate separate sessions
        const timeOffset = (i + j) * durationMs;
        events.push(...fabricator.buildCompleteSession(game, durationMs, timeOffset));
      }

      const status = await postTelemetryBatch(analyticsToken, userToken, cookie, superProps, events);

      if (status === 204) {
        processed += chunk.length;
      } else if (status === 401 || status === 403) {
        throw new Error(`Authentication failed (HTTP ${status}). Token or cookie expired.`);
      } else {
        failed += chunk.length;
        console.warn(`[GameVariety] Batch failed with status ${status}`);
      }

      // Update DM
      try {
        if (dmMessage) {
          await dmMessage.edit({ content: buildVarietyProgress(processed, targetGames, VARIETY_TIERS) });
        }
      } catch { /* ignore */ }

      await sleep(NETWORK_COOLDOWN_MS);
    }

    // Final message
    const finalText = failed === 0
      ? buildFinalMessage('Game Variety', true)
      : `## ${TICK} Game Variety — Partially completed\n\n> ${processed} games sent, ${failed} failed.\n\n*Badge progress usually syncs within 24 to 48 hours.*`;

    try {
      if (dmMessage) await dmMessage.edit({ content: finalText });
    } catch { /* ignore */ }

  } catch (err) {
    console.error('[GameVariety] Error:', err);
    if (err.message === 'UNAUTHORIZED' || err.message?.includes('401')) {
      const authGuard = require('../services/authGuard');
      authGuard.handleUnauthorized(discordUser.id);
      try {
        if (dmMessage) {
          await dmMessage.edit({
            content: `## ${CROSS} Game Variety — Session Expired\n\n> Your session expired or the token is no longer valid.\n> Please go to the panel in the server and **Login** again to continue.`,
          });
        }
      } catch { /* ignore */ }
      return;
    }
    try {
      if (dmMessage) {
        await dmMessage.edit({ content: buildFinalMessage('Game Variety', false, err.message) });
      }
    } catch { /* ignore */ }
  }
}

// ── Run Game Time ───────────────────────────────────────────────────────────────

async function runGameTime(userToken, discordUser, extraCookie) {
  let dmMessage = null;

  try {
    dmMessage = await discordUser.send({
      content: `## ${LOADING} Game Time — Starting...\n\n> Loading game catalog and preparing session...`,
    });
  } catch {
    console.error('[GameTime] DM closed.');
    return;
  }

  try {
    // 1. Load catalog
    const catalog = await fetchGameCatalog();
    if (!catalog.length) throw new Error('Game catalog is empty.');

    // 2. Prepare session
    const heartbeatSessionId = crypto.randomUUID();
    const launchSignature = crypto.randomUUID();
    const superProps = await buildSuperProperties(launchSignature, heartbeatSessionId);
    const analyticsToken = await getAnalyticsToken(userToken, superProps);
    const baseCookie = await fetchBaseCookie();
    const cookie = mergeCookies(baseCookie, extraCookie);
    const fabricator = new TelemetryFabricator(heartbeatSessionId, launchSignature);

    // 3. Strategy: 100 games × 50h each = 5,000h total (Tier 10 Eternal)
    //    Sends each game with spaced timestamps to simulate separate sessions.
    //    50h per session stays within Discord's telemetry window (~48h).
    const targetGames = Math.min(catalog.length, 100);
    const hoursPerGame = 50;
    const durationMs = hoursPerGame * 60 * 60 * 1000;
    const totalTargetHours = targetGames * hoursPerGame;

    // Shuffle catalog for variety
    const shuffled = [...catalog].sort(() => Math.random() - 0.5).slice(0, targetGames);

    let processedHours = 0;
    let failed = 0;

    // Process each game individually for better acceptance
    // Each game generates 3 events, sends one batch per game for unique timestamps
    const gamesPerBatch = Math.floor(BATCH_LIMIT / 3);

    for (let i = 0; i < shuffled.length; i += gamesPerBatch) {
      const chunk = shuffled.slice(i, i + gamesPerBatch);
      const events = [];

      for (let j = 0; j < chunk.length; j++) {
        const game = chunk[j];
        // No timeOffset — timestamps must stay within the current time window
        // for Discord to accept and count the hours properly.
        events.push(...fabricator.buildCompleteSession(game, durationMs, 0));
      }

      const status = await postTelemetryBatch(analyticsToken, userToken, cookie, superProps, events);

      if (status === 204) {
        processedHours += chunk.length * hoursPerGame;
      } else if (status === 401 || status === 403) {
        throw new Error(`Authentication failed (HTTP ${status}). Token or cookie expired.`);
      } else {
        failed += chunk.length;
        console.warn(`[GameTime] Batch failed with status ${status}`);
      }

      // Update DM
      try {
        if (dmMessage) {
          await dmMessage.edit({ content: buildTimeProgress(processedHours, TIME_TIERS, totalTargetHours) });
        }
      } catch { /* ignore */ }

      await sleep(NETWORK_COOLDOWN_MS);
    }

    // Final message
    const finalText = failed === 0
      ? buildFinalMessage('Game Time', true)
      : `## ${TICK} Game Time — Partially completed\n\n> ${processedHours}h sent (${targetGames - failed}/${targetGames} games processed).\n\n*Badge progress usually syncs within 24 to 48 hours.*`;

    try {
      if (dmMessage) {
        await dmMessage.edit({ content: finalText });
      }
    } catch { /* ignore */ }

  } catch (err) {
    console.error('[GameTime] Error:', err);
    if (err.message === 'UNAUTHORIZED' || err.message?.includes('401')) {
      const authGuard = require('../services/authGuard');
      authGuard.handleUnauthorized(discordUser.id);
      try {
        if (dmMessage) {
          await dmMessage.edit({
            content: `## ${CROSS} Game Time — Session Expired\n\n> Your session expired or the token is no longer valid.\n> Please go to the panel in the server and **Login** again to continue.`,
          });
        }
      } catch { /* ignore */ }
      return;
    }
    try {
      if (dmMessage) {
        await dmMessage.edit({ content: buildFinalMessage('Game Time', false, err.message) });
      }
    } catch { /* ignore */ }
  }
}

module.exports = { runGameVariety, runGameTime, VARIETY_TIERS, TIME_TIERS };
```[cite: 1]

r/Discord_selfbots • • 2d ago

💬 Information captcha solver

0 Upvotes

I used NoneCap in the past, but they've had problems recently and that weird mobile user agent caused trouble for me. So I found https://rsolver.xyz/ for my Roblox solving and saw they have a Discord too – maybe it's useful for someone else as well. I managed to create accounts and join servers with that solver without issue.


r/Discord_selfbots • • 3d ago

📢 News Help me I was spamming start because there was a bot and Thai happened

Post image
0 Upvotes

r/Discord_selfbots • • 3d ago

❔ Question any unused discord accounts?

2 Upvotes

Can you give me ^-^


r/Discord_selfbots • • 3d ago

❔ Question Selfbot for sending messages in text channels

2 Upvotes

Does anyone have a selfbot which can send messages in a text channel? I tried to make one through Claude but 3 of my discord accounts got terminated.

What I want, exactly:

I can paste in my message and then the selfbot will send that message at a fixed interval in that text channel

Please let me know - thanks

https://autosender.lol/ - This is what I'm looking for, except for free.


r/Discord_selfbots • • 4d ago

❔ Question Captcha solving error

0 Upvotes

I'm trying to create a guild joiner script with a captcha solver (nonecap) and I keep hitting a "Unknown message" error (code 10008), and I dont know what if could be.

import asyncio
import logging
import os
import time
import traceback
from typing import Optional


import discord
import requests
from dotenv import load_dotenv



logging.basicConfig(
    level=logging.DEBUG,
    format="%(asctime)s %(levelname)s [%(name)s] %(message)s",
)
logger = logging.getLogger("captcha-bot")


load_dotenv()


NONECAP_KEY = os.getenv("NONECAP_KEY")
BOT_TOKEN = os.getenv("BOT_TOKEN")
INVITE_CODE = os.getenv("INVITE_CODE", "microsoft")



def solve_captcha(sitekey: str, rqdata: Optional[str] = None) -> str:
    if not NONECAP_KEY:
        raise RuntimeError("NONECAP_KEY missing from .env")


    url = "https://api.nonecap.com/v1/solves"
    headers = {"Authorization": f"Bearer {NONECAP_KEY}"}
    pl = {
        "type": "hcaptcha",
        "sitekey": sitekey,
        "url": f"https://discord.com/invites/{INVITE_CODE}",
    }
    if rqdata:
        pl["rqdata"] = rqdata


    logger.debug("Requesting captcha token: sitekey=%s invite=%s rqdata=%s", sitekey, INVITE_CODE, bool(rqdata))


    try:
        response = requests.post(
            url,
            params={"wait": 30},
            headers=headers,
            json=pl,
            timeout=40,
        )
        logger.debug("NoneCAP response: status=%s content_type=%s", response.status_code, response.headers.get("Content-Type"))
        response.raise_for_status()
        result = response.json()
    except requests.RequestException as exc:
        logger.exception("NoneCAP request failed")
        raise RuntimeError(f"NoneCAP request failed: {exc}") from exc
    except ValueError as exc:
        raise RuntimeError("NoneCAP returned invalid JSON") from exc


    solve_id = result.get("id") if isinstance(result, dict) else None
    deadline = time.monotonic() + 180


    while time.monotonic() < deadline:
        token = result.get("token") if isinstance(result, dict) else None
        if token:
            logger.debug("Captcha token received successfully for solve=%s", solve_id)
            return token


        if not solve_id:
            error = result.get("error") if isinstance(result, dict) else None
            raise RuntimeError(error or f"NoneCAP returned no solve ID or token: {result!r}")


        status = result.get("status") if isinstance(result, dict) else None
        error = result.get("error") if isinstance(result, dict) else None
        if status in {"failed", "canceled", "cancelled", "expired"}:
            raise RuntimeError(error or f"NoneCAP solve ended with status {status!r}")


        logger.debug("Waiting for NoneCAP solve=%s status=%s", solve_id, status)
        time.sleep(2)


        try:
            response = requests.get(
                f"{url}/{solve_id}",
                headers=headers,
                timeout=40,
            )
            logger.debug("NoneCAP poll: status=%s http_status=%s", result.get("status") if isinstance(result, dict) else None, response.status_code)
            response.raise_for_status()
            result = response.json()
        except requests.RequestException as exc:
            logger.exception("NoneCAP polling failed")
            raise RuntimeError(f"NoneCAP polling failed: {exc}") from exc
        except ValueError as exc:
            raise RuntimeError("NoneCAP polling returned invalid JSON") from exc


    raise TimeoutError(f"Timed out waiting for NoneCAP solve {solve_id}")



class MyCaptchaHandler(discord.CaptchaHandler):
    async def startup(self):
        logger.debug("Captcha handler startup")


    async def prefetch_token(self, proxy, _proxy_auth):
        logger.debug("Captcha prefetch requested: proxy=%s proxy_auth=%s", bool(proxy), bool(_proxy_auth))


    async def fetch_token(self, data, proxy, _proxy_auth):
        sitekey = data.get("captcha_sitekey")
        rqdata = data.get("captcha_rqdata")
        logger.debug("Captcha response fields: %s", sorted(str(key) for key in data))
        logger.debug("Captcha fetch requested: sitekey=%s rqdata=%s proxy=%s", sitekey, bool(rqdata), bool(proxy))
        logger.debug("Captcha proxy context: proxy=%s proxy_auth=%s", bool(proxy), bool(_proxy_auth))
        if not sitekey:
            logger.error("Captcha data did not contain captcha_sitekey: %r", data)
            raise RuntimeError("Discord captcha data did not contain captcha_sitekey")
        return await asyncio.to_thread(solve_captcha, sitekey, rqdata)



client = discord.Client(captcha_handler=MyCaptchaHandler())



u/client.event
async def on_ready():
    logger.info("Logged in as %s (%s)", client.user, getattr(client.user, "id", "unknown"))


    try:
        logger.info("Accepting invite %r", INVITE_CODE)
        invite = await client.fetch_invite(INVITE_CODE)


        if invite.guild:
            guild_id = getattr(invite.guild, "id", None)
            logger.info("Invite target: guild=%r guild_id=%s channel=%r", getattr(invite.guild, "name", None), guild_id, getattr(invite.channel, "name", None))


            if guild_id is not None:
                current_guild = client.get_guild(guild_id)
                if current_guild is not None:
                    logger.warning("Account appears to already be in target guild %s", guild_id)


        state = client._connection
        context = discord.tracking.ContextProperties.from_accept_invite_page(
            guild_id=getattr(invite.guild, "id", None),
            channel_id=getattr(invite.channel, "id", None),
            channel_type=getattr(invite.channel, "type", None),
        )
        data = await state.http.request(
            discord.http.Route("POST", "/invites/{invite_id}", invite_id=invite.code),
            context_properties=context,
            json={},
        )
        accepted = discord.Invite.from_incomplete(state=state, data=data, message=invite._message)
        logger.info("Successfully joined/accepted invite %r (invite code=%s)", INVITE_CODE, accepted.code)
    except discord.HTTPException as exc:
        logger.error("Discord rejected invite %r: status=%s code=%s message=%r", INVITE_CODE, exc.status, exc.code, exc.text)
        logger.exception("Invite acceptance failed")
    except Exception as exc:
        logger.exception("Failed to accept invite %r: %s", INVITE_CODE, exc)



u/client.event
async def on_error(event, *args, **kwargs):
    logger.error("Discord event error in %s", event)
    logger.error("Event arguments: args=%r kwargs=%r", args, kwargs)
    logger.error("Traceback:\n%s", traceback.format_exc())



if __name__ == "__main__":
    if not BOT_TOKEN:
        raise RuntimeError("BOT_TOKEN missing from .env")
    if not NONECAP_KEY:
        raise RuntimeError("NONECAP_KEY missing from .env")


    logger.debug("Starting Discord client with invite %r", INVITE_CODE)
    client.run(BOT_TOKEN)

and the logs
2026-11-24 10:22:59,494 WARNING [discord.client] PyNaCl is not installed, voice will NOT be supported.
2026-11-24 10:22:59,494 DEBUG [discord.client] on_ready has successfully been registered as an event
2026-11-24 10:22:59,494 DEBUG [discord.client] on_error has successfully been registered as an event
2026-11-24 10:22:59,494 DEBUG [captcha-bot] Starting Discord client with invite 'microsoft'
2026-11-24 10:22:59,494 DEBUG [asyncio] Using selector: KqueueSelector
2026-11-24 10:22:59 INFO     discord.client Logging in using static token.
2026-11-24 10:22:59,494 INFO [discord.client] Logging in using static token.
2026-11-24 10:23:00 INFO     discord.http Found user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/159.0.0.0 Safari/537.36, build number 679544.
2026-11-24 10:23:00,413 INFO [discord.http] Found user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/159.0.0.0 Safari/537.36, build number 679544.
2026-11-24 10:23:00,413 DEBUG [captcha-bot] Captcha handler startup
2026-11-24 10:23:06 INFO     discord.gateway Connected to Gateway (Session ID: a362b6b8e542c2e69b0378b42685db23).
2026-11-24 10:23:06,148 INFO [discord.gateway] Connected to Gateway (Session ID: a362b6b8e542c2e69b0378b42685db23).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1560310042249531404 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1560310042249531404 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1466978824964018270 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1466978824964018270 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1518863715259383909 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1518863715259383909 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1265348805893689396 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1265348805893689396 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1288957902870286468 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1288957902870286468 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1051676250059575387 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1051676250059575387 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06 WARNING  discord.state Member list scraping failed for 1509671555511353467 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:06,340 WARNING [discord.state] Member list scraping failed for 1509671555511353467 (Failed to automatically choose channels; please specify them manually).
2026-11-24 10:23:07,983 INFO [captcha-bot] Logged in as p196hql#0 (935052002910687252)
2026-11-24 10:23:07,983 INFO [captcha-bot] Accepting invite 'microsoft'
2026-11-24 10:23:08,006 INFO [captcha-bot] Invite target: guild='Microsoft Community [Unofficial]' guild_id=150662382874525696 channel='server-information'
2026-11-24 10:23:08,789 DEBUG [captcha-bot] Captcha response fields: ['captcha_key', 'captcha_rqdata', 'captcha_rqtoken', 'captcha_service', 'captcha_session_id', 'captcha_sitekey']
2026-11-24 10:23:08,790 DEBUG [captcha-bot] Captcha fetch requested: sitekey=a9b5fb07-92ff-493f-86fe-352a2803b3df rqdata=True proxy=False
2026-11-24 10:23:08,790 DEBUG [captcha-bot] Captcha proxy context: proxy=False proxy_auth=False
2026-11-24 10:23:08,790 DEBUG [captcha-bot] Requesting captcha token: sitekey=a9b5fb07-92ff-493f-86fe-352a2803b3df invite=microsoft rqdata=True
2026-11-24 10:23:08,819 DEBUG [urllib3.connectionpool] Starting new HTTPS connection (1): api.nonecap.com:443
2026-11-24 10:23:18,651 DEBUG [urllib3.connectionpool] https://api.nonecap.com:443 "POST /v1/solves?wait=30 HTTP/1.1" 200 None
2026-11-24 10:23:18,654 DEBUG [captcha-bot] NoneCAP response: status=200 content_type=application/json
2026-11-24 10:23:18,654 DEBUG [captcha-bot] Captcha token received successfully for solve=solve_01M85YD3X0C32GEGW71NQ3F0Z9
2026-11-24 10:23:20,848 ERROR [captcha-bot] Discord rejected invite 'microsoft': status=403 code=10008 message='Unknown Message'
2026-11-24 10:23:20,848 ERROR [captcha-bot] Invite acceptance failed
Traceback (most recent call last):
  File "/Users/hamdan/Documents/captcha-py/main.py", line 143, in on_ready
    data = await state.http.request(
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/http.py", line 830, in request
    raise Forbidden(response, data)
discord.errors.Forbidden: 403 Forbidden (error code: 10008): Unknown Message
2026-11-24 10:23:22 INFO     discord.gateway Gateway session has been invalidated.
2026-11-24 10:23:22,288 INFO [discord.gateway] Gateway session has been invalidated.
Traceback (most recent call last):
  File "/Users/hamdan/Documents/captcha-py/main.py", line 171, in <module>
    client.run(BOT_TOKEN)
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/client.py", line 938, in run
    asyncio.run(runner())
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/client.py", line 927, in runner
    await self.start(token, reconnect=reconnect)
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/client.py", line 858, in start
    await self.connect(reconnect=reconnect)
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/client.py", line 738, in connect
    await self.ws.poll_event()
  File "/Users/hamdan/Documents/captcha-py/.venv/lib/python3.9/site-packages/discord/gateway.py", line 671, in poll_event
    raise ConnectionClosed(self.socket, code=code) from None
discord.errors.ConnectionClosed: WebSocket closed with 4004

can someone help


r/Discord_selfbots • • 5d ago

🗨️ Discussion Finding some developers/n3krs who knows loopholes of discord security

1 Upvotes

So basically I'm a bot developer n just trying to make an antinuke and server security bot, I made basic configs like antiban, antikick, anti channel delete/create smthng smthng arround 20 events but the main problem is ki idk abt bypass, loopholes, n bugs that used by attackers

Like how bot can be bypassed n some crazy methods that makes bot special


r/Discord_selfbots • • 5d ago

🗨️ Discussion Finding some developers/n3krs who knows loopholes of discord security

Thumbnail reddit.com
0 Upvotes

r/Discord_selfbots • • 5d ago

✅ Release Discord Quest Completer Update

Thumbnail
github.com
1 Upvotes

Just dropped an update on the discord quest completer a few days ago after a long time.

The best open source and most up to date quest completer available.

You have to manually claim the rewards tho otherwise I gotta add captcha system which will require YOU to pay for captcha api while I'm trying to keep this a totally free to use code.


r/Discord_selfbots • • 5d ago

✅ Release [Release] Read-only DM/channel exporter with a terminal menu, image saving and a local web viewer (Python, discord.py-self)

0 Upvotes

I built a small read-only exporter for my own DMs, group chats and channels. It never sends, reacts or changes presence, it only reads history.

What it does

- Terminal menu: pick a chat from your recent DMs (searchable), or paste an ID, mention or link

- Time ranges: "new since last export", 24h, 7d, 30d, everything, or custom (7d, yesterday, 5/16/2026 5:32pm)

- Messages and/or images: toggle either. "Images only" just collects every picture from a chat

- Output for each export:

- .txt for pasting into an LLM: mentions and emoji shown as names, split into parts for big chats

- offline Discord-style .html with images, replies and search

- .json with the full data

- Saved media: images, GIFs, stickers and avatars, downloaded at export time (CDN links expire) and reused on later runs

- Local web viewer (127.0.0.1 only):

- browse your exports with live pfps, names and IDs

- view any chat live without saving anything

- CLI mode for scripting: --new, --since, --only images, --list, --serve

Setup: double-click run.bat (it creates a venv and asks for your token on first run), or pip install -r requirements.txt and python scraper.py.

The token is stored in a local config.json, which is git-ignored. Self-botting is against Discord's ToS, so use it at your own risk.

Repo: https://github.com/KeiraOMG0/discord-message-exporter


r/Discord_selfbots • • 6d ago

❔ Question can i sell my old discord account?

0 Upvotes

joined date 2022,2023,2024

2023 is da most

and where can i sell


r/Discord_selfbots • • 6d ago

🗨️ Discussion A little help please?

1 Upvotes

I really want to go onto the Calling All Villains Discord to ask Micah a question about Lady Killer but I need to verify my phone number first, but here's 1 problem:

I DON'T HAVE A PHONE! :D

HORRAYYYYYYYwhatever.

Anyways, if any of you are nice to do it for me, could you please give me a free SMS phone number and verification code so I can get on Discord please? You don't have to if you don't want to! ^ ^


r/Discord_selfbots • • 6d ago

❔ Question Does anyone have any workaround for this?

0 Upvotes

bot.run(TOKEN, bot=False)

~~~~~~~^^^^^^^^^^^^^^^^^^

TypeError: Client.run() got an unexpected keyword argument 'bot'

It was working fine until a few days ago.. these are my libraries:
aiohttp 3.14.5
discord 1.0.1

discord.py 2.7.1

This selfbot has ~1200 lines so I would be pretty mad if it just stopped working...


r/Discord_selfbots • • 6d ago

📢 News Selling a fully-featured Dank Memer selfbot - looking for offers

Post image
0 Upvotes
Not sure if this is the right place, so mods feel free to remove if not allowed.


I built and have been running a multi-account Dank Memer selfbot for a while and I want to see if anyone is interested before I list it anywhere.


What it does:


- Multi-account support (run unlimited accounts with staggered logins)
- Smart command selection - tracks which commands earn the most coins and prioritises them
- Auto quests - parses quest embeds and automatically completes them
- Auto shop buyer - detects missing shovel/rifle and buys them from the shop
- Auto daily, work, scratch, adventure, apple, pizza, horseshoe, ammo - all toggleable
- Flow mode - imports and runs Dank Memer flows
- Per-account overrides - custom commands, cooldowns, flow, and status per account
- Status rotation - cycles Discord presence per account
- Auto deposit - banks coins when idle
- Server events donate - auto-donates inventory and payouts to main account
- Captcha detection - pauses on captcha, waits for manual solve, resumes after
- Retry with backoff on transient errors
- Local web dashboard - live stats, pause/resume/stop, config editor, CSV export, auth-protected controls
- Config validation against a schema
- 113 automated tests
- Graceful shutdown saves stats and closes sessions


Runs on Node.js 20+. Easy setup with tokens.txt and config.json.


Looking for:
Whatever you think is fair. Drop your offer below or DM me. Serious buyers only.

r/Discord_selfbots • • 7d ago

✅ Release Discord's new badges

Post image
8 Upvotes

you all might have seen the new badges

The Game Time badge reflects the total time you’ve spent playing games that Discord can detect. Time across all detected games counts toward the same total, and the badge evolves as that total grows.

The Game Variety badge reflects how many different games you’ve played that Discord recognizes. The badge evolves as that number grows.

The Streaming badge reflects your time spent on Go Live streams in voice channels. It tracks cumulative stream duration and evolves as that total grows.

you all might have seen people with play time and hours like this

https://i.ibb.co/nNXCWGZT/image.png

https://i.ibb.co/PH3WyVw/image.png

how to get them? check my repo https://github.com/ItzMeShadow999/BadgeMaxxer

Disclaimer

This tool uses a user token and sends generated telemetry and streaming activity, which violates Discord's Terms of Service. Accounts using it can be banned. Use a throwaway account, at your own risk. This project is not affiliated with Discord.


r/Discord_selfbots • • 9d ago

❔ Question has anyone made a auto message send selfbot?

0 Upvotes

I was wondering if anyone had made anything like that or how hard it would to make


r/Discord_selfbots • • 10d ago

❔ Question Method for getting nitro boost gift link at cheap

0 Upvotes

Please lmk if there’s any method to generate nitro boost gift links for like 1-1.5$. I’ve heard of some ios method but idk bout that


r/Discord_selfbots • • 10d ago

🙏 Bot Request Need someone to make a selfbot

1 Upvotes

Need a self bot to scrape member ids off a server (500k members)
I’ll pay. Dm me please


r/Discord_selfbots • • 15d ago

🗨️ Discussion Im really starting to feel like im a billionaire from the amount of girls (bots) that keep adding me and telling me they shy to talk with me so they are messaging me from their alt account

5 Upvotes

And send me link to their main account but its definitely a malware. And even sometimes they will send me message if I dont reply to them and my only question is how do they even add me


r/Discord_selfbots • • 15d ago

🙏 Bot Request RPG MBB: a full RPG bot where one /play command opens everything (free, 4 languages)

Thumbnail
gallery
1 Upvotes

RPG MBB is an RPG bot I've been building, and it launched on Nov 2.

How it works:

- Type /play and you get your own game panel. Only you can press your buttons, so it works in busy channels.

- Everything after that is buttons and menus: hunting, dungeons, story campaign, crafting, market, pets and ranked arena.

- /rpg, /start and /menu open the same panel, and !play works as a text command.

- Each player picks their language the first time: English, Spanish, Portuguese or Vietnamese.

- Your character is tied to your Discord account, so it follows you to any server that has the bot.

What's in it: 67 classes, 300 story stages, 9 dungeons, boss fights for up to 5 players, a 500-rank arena ladder, fishing, mining and crafting. It's free.

Add it to your server: https://top.gg/bot/1465915034667319568

Guide: https://rpgmbb.com/guide/

Bug reports and feature ideas are welcome.


r/Discord_selfbots • • 15d ago

❔ Question Selfbot that can join servers

0 Upvotes

Is there a way to get selfbots to automatically join servers? I've been experimenting using 2captcha solver with puppeteer for the past week or so, but the captcha requests keep getting rejected. Does anyone have a better way to do this?