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

djs-selfbot-v13

v3.7.12

Published

An unofficial discord.js fork for creating selfbots

Readme

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

About

Welcome to [email protected], based on [email protected] and backport [email protected]

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

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

Message Search

  • 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)

  • [x] Message
  • [x] ClientUser: Status, Activity, RemoteAuth, etc.
  • [X] Guild: Fetch Members, Join / Leave, Top emojis, etc.
  • [X] 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