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

@deksdeveloper/discord.js-self-bot

v3.7.3

Published

An unofficial discord.js fork for creating selfbots

Readme

[!CAUTION] Using this on a user account is prohibited by the Discord TOS and can lead to an account block. When using these libraries, you accept the risk of exposing your Discord Token. I don't take any responsibility for blocked Discord accounts that used this module.

About

Welcome to discord.js-self-bot, fully modernized for Discord API v10.

discord.js-self-bot is a Node.js module that allows user accounts to interact with the Discord API. This updated repository is completely modernized to support Discord API v10, Gateway v10, and built-in Voice integration natively.

What's New in this Modernized Version?

  • Discord API v10 & Gateway v10 Support: Fully upgraded WebSocket configuration and intents parsing.
  • Anti-Detection & Spoofing: Hardcoded to mimic the latest Discord Desktop Client (Windows 11, Chrome 138, Electron 36) to avoid Cloudflare/API blocks.
  • Clean & Warning-Free: All deprecated sub-dependencies and linting warnings have been removed for a flawless installation experience.

Features

  • [x] Core: Messages, Guilds, Channels, Roles, and Interactions (Slash Commands, Buttons, Menus, Modals).
  • [x] Account Features: RemoteAuth, Relationships (Friends), User Settings, Notes, and Billing.
  • [x] Voice & Audio: Built-in @discordjs/voice integration. Join channels, play audio, and record directly out of the box.
  • [x] Advanced Events: Full support for modern Gateway events (e.g., Polls, Voice Channel Effects, Auto-Moderation).
  • [x] Captcha & TOTP Handler: Fully integrated MFA support utilizing the latest otplib v13.

Installation

[!NOTE] Node.js 20.18.0 or newer is required

npm install @deksdeveloper/discord.js-self-bot

How to Get Your Token

[!WARNING]
Never share your token with anyone!

Run the following code in the Discord Console (Ctrl + Shift + I -> Console) to copy your token to the clipboard:

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

window.webpackChunkdiscord_app.pop();
console.log('%cWorked!', 'font-size: 50px; color: green;');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px;');

Need help?

Feel free to open an Issue or start a Github Discussion if you have questions about the new API v10 adaptations or voice integrations.

Credits