🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

discord.js-selfbot-v13

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots

latest
Source
npmnpm
Version
3.7.1
Version published
Weekly downloads
5.3K
-18.78%
Maintainers
1
Weekly downloads
 
Created
Source

[!IMPORTANT]

Project Archival

This project is no longer actively maintained and this repository has been archived.

You can read the full announcement here

[!CAUTION] The use of this module under a different name on NPM (or another source besides this Github) is not associated with this library. When using these libraries, you accept the risk of exposing your Discord Token.

About

Welcome to discord.js-selfbot-v13@v3.7, based on discord.js@13.17 and backport discord.js@14.21.0

  • discord.js-selfbot-v13 is a Node.js module that allows user accounts to interact with the Discord API v9.

[!WARNING] I don't take any responsibility for blocked Discord accounts that used this module.

[!CAUTION] Using this on a user account is prohibited by the Discord TOS and can lead to the account block.

Document Website

Example Code

Features (User)

  • Message
  • ClientUser: Status, Activity, RemoteAuth, etc.
  • Guild: Fetch Members, Join / Leave, Top emojis, etc.
  • Interactions: Slash Commands, Buttons, Menu, Modal.
  • Captcha & TOTP Handler
  • Documentation
  • Voice & Video
  • Everything

Installation

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

npm install discord.js-selfbot-v13@latest

Example

const { Client } = require('discord.js-selfbot-v13');
const client = new Client();

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

client.login('token');

Get Token ?

Run code (Discord Console - [Ctrl + Shift + I])

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');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');

Contributing

  • Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
  • See the contribution guide if you'd like to submit a PR.

Need help?

Github Discussion: Here

Credits

Other project(s)

Star History

Star History Chart

Keywords

discord.js

FAQs

Package last updated on 11 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts