djs-selfbot-v13
v3.7.12
Published
An unofficial discord.js fork for creating selfbots
Maintainers
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 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)
- [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@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
