Skip to content

deksdeveloper/discord.js-self-bot

 
 

Repository files navigation


discord.js

Discord.js Selfbot v13 (Modernized)

npm version npm downloads Discord API v10 Built-in Voice

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

  • Core: Messages, Guilds, Channels, Roles, and Interactions (Slash Commands, Buttons, Menus, Modals).
  • Account Features: RemoteAuth, Relationships (Friends), User Settings, Notes, and Billing.
  • Voice & Audio: Built-in @discordjs/voice integration. Join channels, play audio, and record directly out of the box.
  • Advanced Events: Full support for modern Gateway events (e.g., Polls, Voice Channel Effects, Auto-Moderation).
  • 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

About

An unofficial discord.js fork for creating selfbots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%