New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord.js-selfbot-v13

Package Overview
Dependencies
Maintainers
0
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js-selfbot-v13

A unofficial discord.js fork for creating selfbots [Based on discord.js v13]

3.6.1
latest
Source
npm
Version published
Weekly downloads
8.3K
10.29%
Maintainers
0
Weekly downloads
 
Created
Source

discord.js

[!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.6, based on discord.js@13.17 and backport discord.js@14.18.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.

Project Status

[!IMPORTANT] discord.js-selfbot-v13 is currently in maintenance mode. New features are not actively being added but existing features and new versions of discord are supported as possible. There are some major architectural changes which need to be added to improve the stability and security of the project. I don't have as much spare time as I did when I started this project, so there is not currently any plan for these improvements.

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([
  [Math.random()],
  {},
  req => {
    if (!req.c) return;
    for (const m of Object.keys(req.c)
      .map(x => req.c[x].exports)
      .filter(x => x)) {
      if (m.default && m.default.getToken !== undefined) {
        return copy(m.default.getToken());
      }
      if (m.getToken !== undefined) {
        return copy(m.getToken());
      }
    }
  },
]);
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 14 Mar 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