{"_id":"@biggy1337/discord-sbjs","_rev":"6-74bc66d0438071f9a6d511d4dbd75287","name":"@biggy1337/discord-sbjs","dist-tags":{"latest":"1.3.13"},"versions":{"1.3.11":{"name":"@biggy1337/discord-sbjs","version":"1.3.11","keywords":["discord.js","discord.js v13","selfbot","selfbot v13","djs","api","bot","node","discord","client","discordapp"],"author":{"name":"Biggy"},"license":"GNU General Public License v3.0","_id":"@biggy1337/discord-sbjs@1.3.11","maintainers":[{"name":"biggy1337","email":"biggy@email.fr"}],"dist":{"shasum":"b609088e7192604d936982d30caa6830686eca88","tarball":"https://registry.npmjs.org/@biggy1337/discord-sbjs/-/discord-sbjs-1.3.11.tgz","fileCount":373,"integrity":"sha512-ta5Rbt0uXgKkSFN+GlRu7IpZA9gYJdwmf+0pMYLGSE2x9CK/JTAQaY4GmFYvXvNrztywdpkBMiV/PUoLpHTvKQ==","signatures":[{"sig":"MEUCIEeXGuOxbDfdkZzOHpZX+vhzmDzEjwHs9uy3Zdl5xnQyAiEAlaIEGWH9HZ783mfsrGtp2d6qO04HDd4cWEtEbFMwy8g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2090394},"main":"./src/index.js","types":"./typings/index.d.ts","engines":{"bun":">=1.3.5"},"scripts":{"all":"bun run build && bun publish","docs":"docgen --source src --custom docs/index.yml --output docs/main.json","lint":"eslint .","test":"bun run lint:all && bun run docs:test && bun run test:typescript","build":"bun run lint:fix && bun run lint:typings:fix && bun run format && bun run docs","format":"prettier --write src/**/*.js typings/**/*.ts","fix:all":"bun run lint:fix && bun run lint:typings:fix && bun run format","lint:all":"bun run lint && bun run lint:typings","lint:fix":"eslint . --fix","docs:test":"docgen --source src --custom docs/index.yml","test:unit":"bun test","lint:typings":"tslint typings/index.d.ts","test:typescript":"tsc --noEmit && tsd","lint:typings:fix":"tslint typings/index.d.ts --fix"},"_npmUser":{"name":"biggy1337","email":"biggy@email.fr"},"_npmVersion":"9.2.0","description":"An unofficial discord.js fork for creating selfbots","directories":{"lib":"src","test":"test"},"_nodeVersion":"20.19.2","dependencies":{"debug":"^4.4.3","impit":"^0.9.2","otplib":"^12.0.1","qrcode":"^1.5.4","werift-rtp":"^0.8.8","prism-media":"^1.3.5","discord-api-types":"^0.38.40","@discordjs/builders":"^1.13.1","@sapphire/shapeshift":"^4.0.0","@discordjs/collection":"^2.1.1","@sapphire/async-queue":"^1.5.5"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsd":"^0.32.0","eslint":"^8.57.1","tslint":"^6.1.3","dtslint":"^4.2.1","prettier":"^2.8.8","@types/bun":"^1.3.10","typescript":"^5.9.3","@types/node":"^22.19.13","@types/debug":"^4.1.12","patch-package":"^8.0.1","@discordjs/docgen":"^0.11.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^4.2.5"},"_npmOperationalInternal":{"tmp":"tmp/discord-sbjs_1.3.11_1783087689041_0.8898306641953335","host":"s3://npm-registry-packages-npm-production"}},"1.3.12":{"name":"@biggy1337/discord-sbjs","version":"1.3.12","keywords":["discord.js","discord.js v13","selfbot","selfbot v13","djs","api","bot","node","discord","client","discordapp"],"author":{"name":"Biggy"},"license":"GNU General Public License v3.0","_id":"@biggy1337/discord-sbjs@1.3.12","maintainers":[{"name":"biggy1337","email":"biggy@email.fr"}],"dist":{"shasum":"ad57f46982ec5474a40a1eae415e31e5a3d9202c","tarball":"https://registry.npmjs.org/@biggy1337/discord-sbjs/-/discord-sbjs-1.3.12.tgz","fileCount":373,"integrity":"sha512-86J7NDlPymncNo5k4vo/2xt3gC6rT8vFJPXXLGewg0tF/fe/yxeQq1OEtQeEndAbKon/x52q+VFtztsdoOz3iw==","signatures":[{"sig":"MEUCIQDCJzflihLwXRIZxVO+B7pkQpcV/E701nFPuJ80xAQIVgIgJEgMxvIwmaoxahgqk3incqOZftOKRqLJaKusO7RJjM8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2090532},"main":"./src/index.js","types":"./typings/index.d.ts","engines":{"bun":">=1.3.5"},"scripts":{"all":"bun run build && bun publish","docs":"docgen --source src --custom docs/index.yml --output docs/main.json","lint":"eslint .","test":"bun run lint:all && bun run docs:test && bun run test:typescript","build":"bun run lint:fix && bun run lint:typings:fix && bun run format && bun run docs","format":"prettier --write src/**/*.js typings/**/*.ts","fix:all":"bun run lint:fix && bun run lint:typings:fix && bun run format","lint:all":"bun run lint && bun run lint:typings","lint:fix":"eslint . --fix","docs:test":"docgen --source src --custom docs/index.yml","test:unit":"bun test","lint:typings":"tslint typings/index.d.ts","test:typescript":"tsc --noEmit && tsd","lint:typings:fix":"tslint typings/index.d.ts --fix"},"_npmUser":{"name":"biggy1337","email":"biggy@email.fr"},"_npmVersion":"9.2.0","description":"An unofficial discord.js fork for creating selfbots","directories":{"lib":"src","test":"test"},"_nodeVersion":"20.19.2","dependencies":{"debug":"^4.4.3","impit":"^0.9.2","otplib":"^12.0.1","qrcode":"^1.5.4","werift-rtp":"^0.8.8","prism-media":"^1.3.5","discord-api-types":"^0.38.40","@discordjs/builders":"^1.13.1","@sapphire/shapeshift":"^4.0.0","@discordjs/collection":"^2.1.1","@sapphire/async-queue":"^1.5.5"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsd":"^0.32.0","eslint":"^8.57.1","tslint":"^6.1.3","dtslint":"^4.2.1","prettier":"^2.8.8","@types/bun":"^1.3.10","typescript":"^5.9.3","@types/node":"^22.19.13","@types/debug":"^4.1.12","patch-package":"^8.0.1","@discordjs/docgen":"^0.11.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^4.2.5"},"_npmOperationalInternal":{"tmp":"tmp/discord-sbjs_1.3.12_1783252152987_0.5080270682932662","host":"s3://npm-registry-packages-npm-production"}},"1.3.13":{"name":"@biggy1337/discord-sbjs","version":"1.3.13","description":"An unofficial discord.js fork for creating selfbots","main":"./src/index.js","types":"./typings/index.d.ts","scripts":{"all":"bun run build && bun publish","test":"bun run lint:all && bun run docs:test && bun run test:typescript","test:unit":"bun test","fix:all":"bun run lint:fix && bun run lint:typings:fix && bun run format","test:typescript":"tsc --noEmit && tsd","lint":"eslint .","lint:fix":"eslint . --fix","lint:typings":"tslint typings/index.d.ts","lint:typings:fix":"tslint typings/index.d.ts --fix","format":"prettier --write src/**/*.js typings/**/*.ts","lint:all":"bun run lint && bun run lint:typings","docs":"docgen --source src --custom docs/index.yml --output docs/main.json","docs:test":"docgen --source src --custom docs/index.yml","build":"bun run lint:fix && bun run lint:typings:fix && bun run format && bun run docs"},"directories":{"lib":"src","test":"test"},"keywords":["discord.js","discord.js v13","selfbot","selfbot v13","djs","api","bot","node","discord","client","discordapp"],"author":{"name":"Biggy"},"license":"GNU General Public License v3.0","dependencies":{"@discordjs/builders":"^1.13.1","@discordjs/collection":"^2.1.1","@sapphire/async-queue":"^1.5.5","@sapphire/shapeshift":"^4.0.0","debug":"^4.4.3","discord-api-types":"^0.38.40","otplib":"^12.0.1","prism-media":"^1.3.5","qrcode":"^1.5.4","werift-rtp":"^0.8.8","impit":"^0.9.2"},"engines":{"bun":">=1.3.5"},"devDependencies":{"@discordjs/docgen":"^0.11.1","@types/bun":"^1.3.10","@types/debug":"^4.1.12","@types/node":"^22.19.13","dtslint":"^4.2.1","eslint":"^8.57.1","eslint-config-prettier":"^8.10.2","eslint-plugin-import":"^2.32.0","eslint-plugin-prettier":"^4.2.5","patch-package":"^8.0.1","prettier":"^2.8.8","tsd":"^0.32.0","tslint":"^6.1.3","typescript":"^5.9.3"},"packageManager":"bun@1.3.5","_id":"@biggy1337/discord-sbjs@1.3.13","_nodeVersion":"20.19.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-/Ket/r+KfjPAcY2JN0YgSQm8EbmQyN4C20GgSYClV/s7ugkThVGEde2mEaJYslMt4nwVJDnEZI2YQL8svEIY8Q==","shasum":"158ec5dbcd6c1130b602c858d25c355ac8f544c1","tarball":"https://registry.npmjs.org/@biggy1337/discord-sbjs/-/discord-sbjs-1.3.13.tgz","fileCount":375,"unpackedSize":2141625,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBvIEiqhd2EkdhehmBCtdkt+ztIanJw4Mmdp612RqkA3AiEA6tuvltY6RTkyNqJf9xEVDouYbFFQW7C9lippeJFTlUY="}]},"_npmUser":{"name":"biggy1337","email":"biggy@email.fr"},"maintainers":[{"name":"biggy1337","email":"biggy@email.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/discord-sbjs_1.3.13_1783528597998_0.09391477962356709"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T14:08:08.868Z","modified":"2026-07-08T16:36:38.299Z","1.3.10":"2026-07-03T14:04:30.659Z","1.3.11":"2026-07-03T14:08:09.280Z","1.3.12":"2026-07-05T11:49:13.160Z","1.3.13":"2026-07-08T16:36:38.163Z"},"author":{"name":"Biggy"},"license":"GNU General Public License v3.0","keywords":["discord.js","discord.js v13","selfbot","selfbot v13","djs","api","bot","node","discord","client","discordapp"],"description":"An unofficial discord.js fork for creating selfbots","maintainers":[{"name":"biggy1337","email":"biggy@email.fr"}],"readme":"<div align=\"center\">\n  <br />\n  <p>\n    <a href=\"https://discord.js.org\"><img src=\"https://discord.js.org/static/logo.svg\" width=\"546\" alt=\"discord.js\" /></a>\n  </p>\n\n# @biggy1337/discord-sbjs\n\nMaintained fork of `discord.js@13.17` for user-account automation on Discord API v9.  \nIncludes selected backports from `discord.js@14`.\n\n  <p>\n    <a href=\"https://www.npmjs.com/package/@biggy1337/discord-sbjs\"><img src=\"https://img.shields.io/npm/v/@biggy1337/discord-sbjs.svg\" alt=\"npm version\" /></a>\n    <a href=\"https://www.npmjs.com/package/@biggy1337/discord-sbjs\"><img src=\"https://img.shields.io/npm/dt/@biggy1337/discord-sbjs.svg\" alt=\"npm downloads\" /></a>\n    <a href=\"https://github.com/sqlu/discord-sb.js/actions\"><img src=\"https://github.com/sqlu/discord-sb.js/actions/workflows/lint.yml/badge.svg\" alt=\"tests\" /></a>\n  </p>\n</div>\n\n> [!IMPORTANT]\n> This project is derived from the archived repository [discord.js-selfbot-v13](https://github.com/aiko-chan-ai/discord.js-selfbot-v13).\n\n> [!WARNING]\n> Use at your own risk. User-account automation can get accounts disabled.\n\n> [!CAUTION]\n> Selfbots violate [Discord Terms of Service](https://discord.com/terms).\n\n## Scope\n\n- Bun-only runtime.\n- API surface close to discord.js v13 where possible.\n- Additional user-account features (profile controls, widgets, quests, app tools, search helpers).\n\n## Requirements\n\n- Bun `>= 1.3.5`\n- A valid Discord user token\n\n## Installation\n\n```sh-session\nbun add @biggy1337/discord-sbjs@latest\n```\n\n## Quick Start\n\n```js\nconst { Client } = require('@biggy1337/discord-sbjs');\n\nconst client = new Client();\n\nclient.on('ready', () => {\n  console.log(`${client.user.tag} is ready`);\n});\n\nclient.login('your_token');\n```\n\n## Captcha and MFA\n\nSome endpoints can return a captcha or MFA challenge (for example invite join or OAuth2 bot authorization).\n\n- Set `captchaSolver(captcha, userAgent)` if you use routes that can challenge.\n- Return only the solved captcha token string from `captchaSolver`.\n- Forward `captcha.captcha_sitekey` and `captcha.captcha_rqdata` to your provider.\n- `captcha_rqtoken` and `captcha_session_id` are handled internally on retry.\n- Set `captchaRetryLimit` as needed.\n- Set `TOTPKey` if your account requires TOTP for protected operations.\n\nCaptcha examples:\n- `JoinGuild.js`\n- `AddBot.js`\n\n## Feature Summary\n\nUser and profile:\n- Extended user fetch data (`mutualGuilds`, `mutualGroups`, profile fields, connected accounts).\n- Name style and clan helpers.\n- Profile widgets helpers.\n- Profile watcher for avatar and banner changes (`client.profileWatcher`).\n\nGuild:\n- `guild.mute(options?)`\n- `guild.unmute()`\n- `guild.markRead(readStates?)`\n\nBackup:\n- Save, load, and recreate guild backups.\n- Supports named backups, direct backup files, and `--clear` restores.\n\nDeveloper applications:\n- `client.developers.get/list/fetch/edit(...)`\n- Bot helpers (`createBot`, `resetBotToken`, `regenerateBotToken`).\n- Application editing helpers (`setAvatar`, `setName`, `setDescription`, tags, intents).\n- Developer Portal helpers for URLs, redirect URIs, install params, bot settings, and flags.\n\nQuests:\n- `client.quests.get()`\n- `client.quests.acceptQuest(...)`\n- `client.quests.autoCompleteAll()`\n- `client.quests.getCompleted()`\n- `client.quests.getClaimable()`\n\nSearch:\n- `channel.search(options?)`\n- `guild.search(options?)`\n\n## Developer Applications\n\nThe library includes helpers for Discord Developer applications:\n\n- List owned applications: `client.developers.list()`\n- Fetch an application: `client.developers.fetch(applicationId)`\n- Edit application fields: `client.developers.edit(applicationId, data)`\n- Create the bot user: `client.developers.createBot(applicationId)`\n- Reset/regenerate a bot token: `client.developers.resetBotToken(applicationId)` or `client.developers.regenerateBotToken(applicationId)`\n- 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.\n- Edit bot/application settings such as avatar, name, description, tags, intents, URLs, redirect URIs, install params, public bot settings, and flags.\n\n## Get Token (Discord Client Console)\n\nRun in Discord desktop devtools (`Ctrl + Shift + I`):\n\n```js\nwindow.webpackChunkdiscord_app.push([\n  [Symbol()],\n  {},\n  req => {\n    if (!req.c) return;\n    for (const mod of Object.values(req.c)) {\n      try {\n        if (!mod.exports || mod.exports === window) continue;\n        if (mod.exports?.getToken) return copy(mod.exports.getToken());\n        for (const ex in mod.exports) {\n          if (\n            mod.exports?.[ex]?.getToken &&\n            mod.exports[ex][Symbol.toStringTag] !== 'IntlMessagesProxy'\n          ) {\n            return copy(mod.exports[ex].getToken());\n          }\n        }\n      } catch {}\n    }\n  },\n]);\n\nwindow.webpackChunkdiscord_app.pop();\nconsole.log('%cDone!', 'font-size: 50px');\nconsole.log('%cToken copied to clipboard.', 'font-size: 16px');\n```\n\n## Docs and Examples\n\n- Documentation: https://discordjs-self-v13.netlify.app/\n\n## Contact\n\n- Discord: `85my`\n- If you have any issue, join the support Discord server: https://discord.gg/hPB7kmH8vT\n\n## Contributing\n\n- Check existing issues and docs before opening a new request.\n- PRs are welcome.\n- Reference guide: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md\n\n\n## Credits\n\n- https://github.com/discordjs/discord.js\n- https://github.com/aiko-chan-ai/discord.js-selfbot-v13\n","readmeFilename":"README.md"}