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
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.
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 userclient.developers.list(withTeamApplications?)- Alias for get() methodclient.developers.fetch(applicationId)- Fetch a specific application by IDclient.developers.edit(applicationId, data)- Edit an application with custom dataclient.developers.setAvatar(applicationId, avatar)- Set application avatar/iconclient.developers.setName(applicationId, name)- Set application nameclient.developers.setDescription(applicationId, description)- Set application descriptionclient.developers.setTags(applicationId, tags)- Set application tags (max 5)client.developers.addTag(applicationId, tag)- Add a single tag to applicationclient.developers.delTag(applicationId, tag)- Remove a tag from applicationclient.developers.enableIntents(applicationId)- Enable bot intents for applicationclient.developers.disableIntents(applicationId)- Disable bot intents for application
Application Object Methods (Direct Usage):
application.edit(data)- Edit the applicationapplication.setAvatar(avatar)- Set application avatar/iconapplication.setName(name)- Set application nameapplication.setDescription(description)- Set application descriptionapplication.setTags(tags)- Set application tags (max 5)application.addTag(tag)- Add a single tagapplication.delTag(tag)- Remove a tagapplication.enableIntents()- Enable bot intentsapplication.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 URLrpc.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 colorsclient.user.setClan(GuildID)- Change your server clan tagclient.user.deleteClan()- Remove server clan tag
Profile Widgets
client.user.addWidget(type, gameId, comment?, tags?)- Add a game widget to profileclient.user.delWidget(type, gameId?)- Remove a widget or specific gameclient.user.widgetsList()- Get list of all widgets
Quest System
client.quests.get()- Fetch all available questsclient.quests.orbs()- Get virtual currency balanceclient.quests.acceptQuest(questId, options?)- Accept a questclient.quests.doingQuest(quest)- Auto-complete a questclient.quests.autoCompleteAll()- Auto-complete all valid questsclient.quests.getCompleted()- Get completed questsclient.quests.getClaimable()- Get claimable questsclient.quests.filterQuestsValid()- Filter valid quests
Message Search
channel.search(options?)- Search for messages in a channel with advanced filtersauthorId- Search by specific authormentions- Search for messages mentioning a userhas- Search for messages containing:image,video,link,embed,sound,poll,sticker,snapshotpinned- Search only pinned messagessortBy- Sort bytimestamporrelevancesortOrder- Sort orderdescorascoffset- Pagination offsetlimit- Limit number of resultsmaxTime- Search for messages before a specific date/time
guild.search(options?)- Search for messages across the entire guild with advanced filterschannelId- 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@latestExample
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 ?
- Based: findByProps
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)
- 📘 aiko-chan-ai/DiscordBotClient
A patched version of discord, with bot login support