discord.js-selfbot-v13/Document/ClientOption.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

# Quick Links
2022-04-11 06:04:33 +00:00
- [Client Settings](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Document/ClientOption.md#client-settings)
- [Client Functions](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Document/ClientOption.md#client-functions)
2022-04-16 15:56:18 +00:00
- [Custom Status](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Document/ClientOption.md#sync-status)
2022-04-10 13:11:20 +00:00
## Client Settings
```js
new Client({
checkUpdate: true, // Check Package Update (Bot Ready) [Enable Default]
readyStatus: false, // Set Custom Status sync from Account (Bot Ready) [Disable Default]
autoCookie: true, // Auto added Cookie and Fingerprint [Enable Default](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/DOCUMENT.md#http-options)
autoRedeemNitro: true, // Automaticlly redeems nitro codes <NOTE: there is no cooldown on the auto redeem> [Disable Default]
});
```
## Client Functions
- Update Cookie and Fingerprint
```js
client.updateCookie(): Promise<void>
```
2022-04-25 13:22:24 +00:00
- Redeem Nitro
```js
2022-04-25 13:22:24 +00:00
client.redeemNitro('code'): Promise<void>
2022-04-16 15:56:18 +00:00
```
## Sync Status
```js
client.customStatusAuto(): Promise<void>
2022-04-10 13:11:20 +00:00
```