discord.js-selfbot-v13/Document/HTTPOption.md
March 7th 8688dbac8c 1.3.1
- Update Document
- Fix WebEmbed
- Fix MessagePayload
- Clear warn "Accessing non-existent property inside a circular dependency" (Pull #26)
2022-04-11 12:53:02 +07:00

17 lines
353 B
Markdown

## 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
}
}
});
```