@biggy1337/discord-sbjs
v1.3.13
Published
An unofficial discord.js fork for creating selfbots
Maintainers
Readme
@biggy1337/discord-sbjs
Maintained fork of [email protected] for user-account automation on Discord API v9.
Includes selected backports from discord.js@14.
[!IMPORTANT] This project is derived from the archived repository discord.js-selfbot-v13.
[!WARNING] Use at your own risk. User-account automation can get accounts disabled.
[!CAUTION] Selfbots violate Discord Terms of Service.
Scope
- Bun-only runtime.
- API surface close to discord.js v13 where possible.
- Additional user-account features (profile controls, widgets, quests, app tools, search helpers).
Requirements
- Bun
>= 1.3.5 - A valid Discord user token
Installation
bun add @biggy1337/discord-sbjs@latestQuick Start
const { Client } = require('@biggy1337/discord-sbjs');
const client = new Client();
client.on('ready', () => {
console.log(`${client.user.tag} is ready`);
});
client.login('your_token');Captcha and MFA
Some endpoints can return a captcha or MFA challenge (for example invite join or OAuth2 bot authorization).
- Set
captchaSolver(captcha, userAgent)if you use routes that can challenge. - Return only the solved captcha token string from
captchaSolver. - Forward
captcha.captcha_sitekeyandcaptcha.captcha_rqdatato your provider. captcha_rqtokenandcaptcha_session_idare handled internally on retry.- Set
captchaRetryLimitas needed. - Set
TOTPKeyif your account requires TOTP for protected operations.
Captcha examples:
JoinGuild.jsAddBot.js
Feature Summary
User and profile:
- Extended user fetch data (
mutualGuilds,mutualGroups, profile fields, connected accounts). - Name style and clan helpers.
- Profile widgets helpers.
- Profile watcher for avatar and banner changes (
client.profileWatcher).
Guild:
guild.mute(options?)guild.unmute()guild.markRead(readStates?)
Backup:
- Save, load, and recreate guild backups.
- Supports named backups, direct backup files, and
--clearrestores.
Developer applications:
client.developers.get/list/fetch/edit(...)- Bot helpers (
createBot,resetBotToken,regenerateBotToken). - Application editing helpers (
setAvatar,setName,setDescription, tags, intents). - Developer Portal helpers for URLs, redirect URIs, install params, bot settings, and flags.
Quests:
client.quests.get()client.quests.acceptQuest(...)client.quests.autoCompleteAll()client.quests.getCompleted()client.quests.getClaimable()
Search:
channel.search(options?)guild.search(options?)
Developer Applications
The library includes helpers for Discord Developer applications:
- List owned applications:
client.developers.list() - Fetch an application:
client.developers.fetch(applicationId) - Edit application fields:
client.developers.edit(applicationId, data) - Create the bot user:
client.developers.createBot(applicationId) - Reset/regenerate a bot token:
client.developers.resetBotToken(applicationId)orclient.developers.regenerateBotToken(applicationId) - Batch token regeneration is supported with several application IDs. Old bot tokens alone cannot be used for reset; Discord requires the developer application ID and an authorized user session.
- Edit bot/application settings such as avatar, name, description, tags, intents, URLs, redirect URIs, install params, public bot settings, and flags.
Get Token (Discord Client Console)
Run in Discord desktop devtools (Ctrl + Shift + I):
window.webpackChunkdiscord_app.push([
[Symbol()],
{},
req => {
if (!req.c) return;
for (const mod of Object.values(req.c)) {
try {
if (!mod.exports || mod.exports === window) continue;
if (mod.exports?.getToken) return copy(mod.exports.getToken());
for (const ex in mod.exports) {
if (
mod.exports?.[ex]?.getToken &&
mod.exports[ex][Symbol.toStringTag] !== 'IntlMessagesProxy'
) {
return copy(mod.exports[ex].getToken());
}
}
} catch {}
}
},
]);
window.webpackChunkdiscord_app.pop();
console.log('%cDone!', 'font-size: 50px');
console.log('%cToken copied to clipboard.', 'font-size: 16px');Docs and Examples
- Documentation: https://discordjs-self-v13.netlify.app/
Contact
- Discord:
85my - If you have any issue, join the support Discord server: https://discord.gg/hPB7kmH8vT
Contributing
- Check existing issues and docs before opening a new request.
- PRs are welcome.
- Reference guide: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md
Credits
- https://github.com/discordjs/discord.js
- https://github.com/aiko-chan-ai/discord.js-selfbot-v13
