npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@biggy1337/discord-sbjs

v1.3.13

Published

An unofficial discord.js fork for creating selfbots

Readme

@biggy1337/discord-sbjs

Maintained fork of [email protected] for user-account automation on Discord API v9.
Includes selected backports from discord.js@14.

[!IMPORTANT] This project is derived from the archived repository discord.js-selfbot-v13.

[!WARNING] Use at your own risk. User-account automation can get accounts disabled.

[!CAUTION] Selfbots violate Discord Terms of Service.

Scope

  • Bun-only runtime.
  • API surface close to discord.js v13 where possible.
  • Additional user-account features (profile controls, widgets, quests, app tools, search helpers).

Requirements

  • Bun >= 1.3.5
  • A valid Discord user token

Installation

bun add @biggy1337/discord-sbjs@latest

Quick Start

const { Client } = require('@biggy1337/discord-sbjs');

const client = new Client();

client.on('ready', () => {
  console.log(`${client.user.tag} is ready`);
});

client.login('your_token');

Captcha and MFA

Some endpoints can return a captcha or MFA challenge (for example invite join or OAuth2 bot authorization).

  • Set captchaSolver(captcha, userAgent) if you use routes that can challenge.
  • Return only the solved captcha token string from captchaSolver.
  • Forward captcha.captcha_sitekey and captcha.captcha_rqdata to your provider.
  • captcha_rqtoken and captcha_session_id are handled internally on retry.
  • Set captchaRetryLimit as needed.
  • Set TOTPKey if your account requires TOTP for protected operations.

Captcha examples:

  • JoinGuild.js
  • AddBot.js

Feature Summary

User and profile:

  • Extended user fetch data (mutualGuilds, mutualGroups, profile fields, connected accounts).
  • Name style and clan helpers.
  • Profile widgets helpers.
  • Profile watcher for avatar and banner changes (client.profileWatcher).

Guild:

  • guild.mute(options?)
  • guild.unmute()
  • guild.markRead(readStates?)

Backup:

  • Save, load, and recreate guild backups.
  • Supports named backups, direct backup files, and --clear restores.

Developer applications:

  • client.developers.get/list/fetch/edit(...)
  • Bot helpers (createBot, resetBotToken, regenerateBotToken).
  • Application editing helpers (setAvatar, setName, setDescription, tags, intents).
  • Developer Portal helpers for URLs, redirect URIs, install params, bot settings, and flags.

Quests:

  • client.quests.get()
  • client.quests.acceptQuest(...)
  • client.quests.autoCompleteAll()
  • client.quests.getCompleted()
  • client.quests.getClaimable()

Search:

  • channel.search(options?)
  • guild.search(options?)

Developer Applications

The library includes helpers for Discord Developer applications:

  • List owned applications: client.developers.list()
  • Fetch an application: client.developers.fetch(applicationId)
  • Edit application fields: client.developers.edit(applicationId, data)
  • Create the bot user: client.developers.createBot(applicationId)
  • Reset/regenerate a bot token: client.developers.resetBotToken(applicationId) or client.developers.regenerateBotToken(applicationId)
  • Batch token regeneration is supported with several application IDs. Old bot tokens alone cannot be used for reset; Discord requires the developer application ID and an authorized user session.
  • Edit bot/application settings such as avatar, name, description, tags, intents, URLs, redirect URIs, install params, public bot settings, and flags.

Get Token (Discord Client Console)

Run in Discord desktop devtools (Ctrl + Shift + I):

window.webpackChunkdiscord_app.push([
  [Symbol()],
  {},
  req => {
    if (!req.c) return;
    for (const mod of Object.values(req.c)) {
      try {
        if (!mod.exports || mod.exports === window) continue;
        if (mod.exports?.getToken) return copy(mod.exports.getToken());
        for (const ex in mod.exports) {
          if (
            mod.exports?.[ex]?.getToken &&
            mod.exports[ex][Symbol.toStringTag] !== 'IntlMessagesProxy'
          ) {
            return copy(mod.exports[ex].getToken());
          }
        }
      } catch {}
    }
  },
]);

window.webpackChunkdiscord_app.pop();
console.log('%cDone!', 'font-size: 50px');
console.log('%cToken copied to clipboard.', 'font-size: 16px');

Docs and Examples

  • Documentation: https://discordjs-self-v13.netlify.app/

Contact

  • Discord: 85my
  • If you have any issue, join the support Discord server: https://discord.gg/hPB7kmH8vT

Contributing

  • Check existing issues and docs before opening a new request.
  • PRs are welcome.
  • Reference guide: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md

Credits

  • https://github.com/discordjs/discord.js
  • https://github.com/aiko-chan-ai/discord.js-selfbot-v13