API v9, edit document + readme
Request by github.com/dolfies
This commit is contained in:
		
							
								
								
									
										18
									
								
								DOCUMENT.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								DOCUMENT.md
									
									
									
									
									
								
							@@ -1,6 +1,24 @@
 | 
			
		||||
# Discord.js Selfbot v13
 | 
			
		||||
- Install: <strong>```npm i discord.js-selfbot-v13@latest```</strong>
 | 
			
		||||
 | 
			
		||||
# <strong>[Risky actions](https://github.com/Merubokkusu/Discord-S.C.U.M/issues/66)</strong>
 | 
			
		||||
 | 
			
		||||
## Change log:
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
/* If you want to change the API version from v9 to v10, here are the instructions */
 | 
			
		||||
const { Client } = require('discord.js-selfbot-v13');
 | 
			
		||||
const client = new Client({
 | 
			
		||||
	ws: {
 | 
			
		||||
		version: 10
 | 
			
		||||
	},
 | 
			
		||||
	http: {
 | 
			
		||||
		version: 10
 | 
			
		||||
	}
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Client Settings
 | 
			
		||||
<details>
 | 
			
		||||
<summary><strong>Click to show</strong></summary>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										19
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.md
									
									
									
									
									
								
							@@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
## About
 | 
			
		||||
 | 
			
		||||
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v10.
 | 
			
		||||
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<div align="center">
 | 
			
		||||
@@ -27,6 +27,21 @@
 | 
			
		||||
### <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>
 | 
			
		||||
 | 
			
		||||
### <strong>[Feature + Example Code](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/DOCUMENT.md)</strong>
 | 
			
		||||
### <strong>[Risky actions](https://github.com/Merubokkusu/Discord-S.C.U.M/issues/66)</strong>
 | 
			
		||||
 | 
			
		||||
## Checklist
 | 
			
		||||
- [x] Send + receive messages with Attachment, Embed (WebEmbed), etc.
 | 
			
		||||
- [x] Setting Discord App (Missing a lot of functions)
 | 
			
		||||
- [X] Requests (add friends, join guilds, etc.)
 | 
			
		||||
- [X] Profile Editing (Name, Status, Avatar, Bio, Rich-Presence, etc.)
 | 
			
		||||
- [X] Interactions (slash commands, buttons, etc.)
 | 
			
		||||
- [X] Voice Channel (Join, Leave, Speak, etc.)
 | 
			
		||||
- [ ] Improve documentation (maybe)
 | 
			
		||||
- [ ] Add more guild http api wraps
 | 
			
		||||
- [ ] Audio / Video call 
 | 
			
		||||
- [ ] Everything
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
**Node.js 16.6.0 or newer is required**
 | 
			
		||||
@@ -97,4 +112,4 @@ Contact me in Discord: [Shiraori#1782](https://discord.com/users/721746046543331
 | 
			
		||||
- And the people who submitted the issue, colab, ...
 | 
			
		||||
 | 
			
		||||
## <strong><img src="https://cdn.discordapp.com/attachments/820557032016969751/952436539118456882/flag-vietnam_1f1fb-1f1f3.png" alt="." width="20" height="20"/> Vietnamese</strong>
 | 
			
		||||
- Tóm lại là module này dùng Discord.js v13 , API v10 nên chưa chết sớm đâu, cứ dùng đi =))
 | 
			
		||||
- Tóm lại là module này dùng Discord.js v13 , API v19 nên chưa chết sớm đâu, cứ dùng đi =))
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "discord.js-selfbot-v13",
 | 
			
		||||
  "version": "1.2.7",
 | 
			
		||||
  "version": "1.2.8",
 | 
			
		||||
  "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
 | 
			
		||||
  "main": "./src/index.js",
 | 
			
		||||
  "types": "./typings/index.d.ts",
 | 
			
		||||
 
 | 
			
		||||
@@ -171,7 +171,7 @@ class Options extends null {
 | 
			
		||||
          $browser: 'Chrome',
 | 
			
		||||
          $device: 'ASUS ROG Phone 5',
 | 
			
		||||
        },
 | 
			
		||||
        version: 10,
 | 
			
		||||
        version: 9,
 | 
			
		||||
      },
 | 
			
		||||
      http: {
 | 
			
		||||
        headers: {
 | 
			
		||||
@@ -194,7 +194,7 @@ class Options extends null {
 | 
			
		||||
          'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36',
 | 
			
		||||
        },
 | 
			
		||||
        agent: {},
 | 
			
		||||
        version: 10,
 | 
			
		||||
        version: 9,
 | 
			
		||||
        api: 'https://discord.com/api',
 | 
			
		||||
        cdn: 'https://cdn.discordapp.com',
 | 
			
		||||
        invite: 'https://discord.gg',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user