Docs: Update
This commit is contained in:
		@@ -1,17 +0,0 @@
 | 
			
		||||
## HTTP options:
 | 
			
		||||
- Change API v9 to v10
 | 
			
		||||
```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,
 | 
			
		||||
		header: {
 | 
			
		||||
			cookie: '', // If you want to use cookies, here is the place
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
});
 | 
			
		||||
```
 | 
			
		||||
@@ -1,10 +1,4 @@
 | 
			
		||||
# Slash command demo 
 | 
			
		||||
- Support Autocomplete feature (half)
 | 
			
		||||
- Unused `guild.searchInteraction()` (Deleted)
 | 
			
		||||
 | 
			
		||||
# <strong>BREAKING CHANGE: Using Slash Command (Sub Command / Sub Group Command) will not accept subCommand argument in args. That means Command Name needs to be changed same as Discord Client</strong>
 | 
			
		||||
 | 
			
		||||
# All image demo : v2.3
 | 
			
		||||
# Slash command
 | 
			
		||||
 | 
			
		||||
# Slash Command (no options)
 | 
			
		||||
 | 
			
		||||
@@ -12,38 +6,25 @@
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
`vietnamese .-.`
 | 
			
		||||
 | 
			
		||||
### Code test
 | 
			
		||||
### Code
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
await message.channel.sendSlash('botid', 'aiko')
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Result
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
# Slash Command + Sub option (group)
 | 
			
		||||
 | 
			
		||||
### Demo (v2.5)
 | 
			
		||||
### Demo
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Code test
 | 
			
		||||
 | 
			
		||||
```diff
 | 
			
		||||
   v2.5
 | 
			
		||||
- await message.channel.sendSlash('450323683840491530', 'animal', 'chat', 'bye')
 | 
			
		||||
   v2.6+
 | 
			
		||||
+ await message.channel.sendSlash('450323683840491530', 'animal chat', 'bye')
 | 
			
		||||
```js
 | 
			
		||||
await message.channel.sendSlash('450323683840491530', 'animal chat', 'bye')
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Result
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
# Slash Command with Attachment (must use MessageAttachment)
 | 
			
		||||
# Slash Command with Attachment
 | 
			
		||||
 | 
			
		||||
### Demo
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user