JSPM

  • Created
  • Published
  • Downloads 1154
  • Score
    100M100P100Q107555F
  • License GNU General Public License v3.0

An unofficial discord.js fork for creating selfbots

Package Exports

  • djs-selfbot-v13
  • djs-selfbot-v13/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (djs-selfbot-v13) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


discord.js

About

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

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

[!IMPORTANT] This project is a fork of the discord.js-selfbot-v13 archived project.

npm version npm downloads Tests status

New Features

Guild Management

  • guild.mute(options?) - Mute a guild completely (suppress all notifications)
  • guild.unmute() - Unmute a guild (restore all notifications)
  • guild.markRead(readStates?) - Mark all channels in a guild as read

Developer Applications

  • client.developers.get(withTeamApplications?) - Fetch all developer applications owned by the user
  • client.developers.list(withTeamApplications?) - Alias for get() method
  • client.developers.fetch(applicationId) - Fetch a specific application by ID
  • client.developers.edit(applicationId, data) - Edit an application with custom data
  • client.developers.setAvatar(applicationId, avatar) - Set application avatar/icon
  • client.developers.setName(applicationId, name) - Set application name
  • client.developers.setDescription(applicationId, description) - Set application description
  • client.developers.setTags(applicationId, tags) - Set application tags (max 5)
  • client.developers.addTag(applicationId, tag) - Add a single tag to application
  • client.developers.delTag(applicationId, tag) - Remove a tag from application
  • client.developers.enableIntents(applicationId) - Enable bot intents for application
  • client.developers.disableIntents(applicationId) - Disable bot intents for application

Application Object Methods (Direct Usage):

  • application.edit(data) - Edit the application
  • application.setAvatar(avatar) - Set application avatar/icon
  • application.setName(name) - Set application name
  • application.setDescription(description) - Set application description
  • application.setTags(tags) - Set application tags (max 5)
  • application.addTag(tag) - Add a single tag
  • application.delTag(tag) - Remove a tag
  • application.enableIntents() - Enable bot intents
  • application.disableIntents() - Disable bot intents

RPC Enhancements

  • rpc.setDetailsURL(url) - Set a URL for RPC details (now fully functional)
  • rpc.setStateURL(url) - Set a URL for RPC state (now fully functional)
  • rpc.details_url - Property to access the details URL
  • rpc.state_url - Property to access the state URL

User Profile Customization

  • client.user.setNameStyle(fontName, effectName, color1, color2?) - Set display name style with font, effect and colors
  • client.user.setClan(GuildID) - Change your server clan tag
  • client.user.deleteClan() - Remove server clan tag

Profile Widgets

  • client.user.addWidget(type, gameId, comment?, tags?) - Add a game widget to profile
  • client.user.delWidget(type, gameId?) - Remove a widget or specific game
  • client.user.widgetsList() - Get list of all widgets

Quest System

  • client.quests.get() - Fetch all available quests
  • client.quests.orbs() - Get virtual currency balance
  • client.quests.acceptQuest(questId, options?) - Accept a quest
  • client.quests.doingQuest(quest) - Auto-complete a quest
  • client.quests.autoCompleteAll() - Auto-complete all valid quests
  • client.quests.getCompleted() - Get completed quests
  • client.quests.getClaimable() - Get claimable quests
  • client.quests.filterQuestsValid() - Filter valid quests
  • channel.search(options?) - Search for messages in a channel with advanced filters

    • authorId - Search by specific author
    • mentions - Search for messages mentioning a user
    • has - Search for messages containing: image, video, link, embed, sound, poll, sticker, snapshot
    • pinned - Search only pinned messages
    • sortBy - Sort by timestamp or relevance
    • sortOrder - Sort order desc or asc
    • offset - Pagination offset
    • limit - Limit number of results
    • maxTime - Search for messages before a specific date/time
  • guild.search(options?) - Search for messages across the entire guild with advanced filters

    • channelId - Search in a specific channel within the guild
    • All other options same as channel.search()

[!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 djs-selfbot-v13@latest

Example

const { Client } = require('djs-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