discord.js-selfbot-v13/README.md

135 lines
5.3 KiB
Markdown
Raw Normal View History

2022-03-19 10:37:45 +00:00
<div align="center">
<br />
<p>
<a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a>
</p>
<br />
<p>
2022-03-19 10:52:50 +00:00
<a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
2022-04-27 03:51:39 +00:00
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/v/discord.js.svg" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/dt/discord.js.svg" alt="npm downloads" /></a>
2022-04-17 10:30:47 +00:00
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Tests status" /></a>
2022-03-19 10:37:45 +00:00
</p>
</div>
2023-06-23 18:50:46 +00:00
## Words from the Developer
- I'm on vacation so the library won't update much :3
2022-03-19 10:37:45 +00:00
## About
2023-05-07 03:40:17 +00:00
<strong>Welcome to `discord.js-selfbot-v13@v2.14`, based on `discord.js@13.16`</strong>
2022-05-14 08:06:15 +00:00
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
2022-03-19 10:37:45 +00:00
<div align="center">
<p>
2022-04-27 03:51:39 +00:00
<a href="https://www.npmjs.com/package/discord.js-selfbot-v13"><img src="https://img.shields.io/npm/v/discord.js-selfbot-v13.svg" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/discord.js-selfbot-v13"><img src="https://img.shields.io/npm/dt/discord.js-selfbot-v13.svg" alt="npm downloads" /></a>
2022-04-17 10:30:47 +00:00
<a href="https://github.com/aiko-chan-ai/discord.js-selfbot-v13/actions"><img src="https://github.com/aiko-chan-ai/discord.js-selfbot-v13/actions/workflows/lint.yml/badge.svg" alt="Tests status" /></a>
</p>
</div>
2022-03-19 10:52:50 +00:00
### <strong>I don't take any responsibility for blocked Discord accounts that used this module.</strong>
### <strong>Using this on a user account is prohibited by the [Discord TOS](https://discord.com/terms) and can lead to the account block.</strong>
2022-03-19 10:37:45 +00:00
2022-05-16 14:07:27 +00:00
### <strong>[Document Website (recommend)](https://discordjs-self-v13.netlify.app/)</strong>
### <strong>[Extend Document (With Example)](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/tree/main/Document)</strong>
## Features (User)
- [x] Message: Embeds (WebEmbed)
2022-08-17 10:49:58 +00:00
- [x] User: Settings, Status, Activity, DeveloperPortal, RemoteAuth, etc.
2023-02-22 05:08:33 +00:00
- [X] Guild: Fetch Members, Join / Leave, Top emojis, ...
- [X] Interactions: Slash Commands, Click Buttons, Menu, Modal, Context Menu, ...
2023-03-05 12:04:04 +00:00
- [X] Captcha Handler (2captcha, capmonster, custom)
2022-05-14 08:06:15 +00:00
- [X] Documentation
2023-02-22 05:08:33 +00:00
- [x] Voice & [Video stream](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/issues/293)
- [ ] Everything
### Optional packages
- [2captcha](https://www.npmjs.com/package/2captcha) for solving captcha (`npm install 2captcha`)
2023-05-07 03:40:17 +00:00
- [node-capmonster](https://www.npmjs.com/package/node-capmonster) for solving captcha (`npm install node-capmonster`)
2022-03-19 10:37:45 +00:00
## Installation
**Node.js 16.6.0 or newer is required**
2022-03-19 10:37:45 +00:00
2023-03-02 05:01:42 +00:00
> Recommended Node.js version: 18 (LTS)
2022-03-19 10:37:45 +00:00
```sh-session
npm install discord.js-selfbot-v13@latest
2022-03-19 10:37:45 +00:00
```
2022-03-19 10:37:45 +00:00
## Example
```js
2022-03-19 10:52:50 +00:00
const { Client } = require('discord.js-selfbot-v13');
2022-11-12 11:11:30 +00:00
const client = new Client({
// See other options here
// https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/ClientOptions
// All partials are loaded automatically
});
2022-03-19 10:37:45 +00:00
client.on('ready', async () => {
console.log(`${client.user.username} is ready!`);
2022-03-19 10:37:45 +00:00
})
client.login('token');
```
## Get Token ?
2022-10-03 12:30:49 +00:00
<strong>Run code (Discord Console - [Ctrl + Shift + I])</strong>
```js
2022-05-06 16:18:33 +00:00
window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
```
2022-03-27 12:29:02 +00:00
Credit: <img src="https://cdn.discordapp.com/emojis/889092230063734795.png" alt="." width="16" height="16"/> [<strong>hxr404</strong>](https://github.com/hxr404/Discord-Console-hacks)
2022-03-19 10:52:50 +00:00
2022-06-26 06:54:43 +00:00
## Contributing
2022-03-19 10:52:50 +00:00
2022-03-20 03:47:44 +00:00
- Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
2022-03-19 10:52:50 +00:00
[documentation](https://discord.js.org/#/docs).
2022-03-20 03:47:44 +00:00
- See [the contribution guide](https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR.
2022-03-19 10:52:50 +00:00
## Need help?
2022-11-12 11:11:30 +00:00
Github Discussion: [Here](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/discussions)
## Credits
2022-05-06 16:18:33 +00:00
- [Discord.js](https://github.com/discordjs/discord.js)
2023-02-22 05:08:33 +00:00
## <strong><img src="https://cdn.discordapp.com/attachments/820557032016969751/952436539118456882/flag-vietnam_1f1fb-1f1f3.png" alt="." width="20" height="20"/> Other project(s)
- 📘 [***aiko-chan-ai/DiscordBotClient***](https://github.com/aiko-chan-ai/DiscordBotClient) <br/>
A patched version of discord, with bot login support
2023-03-16 17:06:45 +00:00
- 📕 [***aiko-chan-ai/Discord-Markdown***](https://github.com/aiko-chan-ai/Discord-Markdown) <br/>
Better Markdown to text chat Discord.
2023-02-22 05:08:33 +00:00
- 📗 ...
2022-06-13 16:53:43 +00:00
2023-06-15 10:11:54 +00:00
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=aiko-chan-ai/discord.js-selfbot-v13&type=Date)](https://star-history.com/#aiko-chan-ai/discord.js-selfbot-v13&Date)
2022-06-13 16:53:43 +00:00
# From Github with love 💕