append in slash command

comming soon
This commit is contained in:
March 7th 2022-03-25 12:37:56 +07:00
parent 404731d606
commit f60bc1bc71
2 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# Discord.js Selfbot v13
- Install: <strong>npm i discord.js-selfbot-v13@lasest</strong>
- Install: <strong>```npm i discord.js-selfbot-v13@latest```</strong>
## Client Settings
<details>
@ -7,8 +7,8 @@
```js
new Client({
checkUpdate: true, // Check Package Update (Ready) [Enable Deafult]
readyStatus: false, // Set status sync from Account (Ready) [Disable Default]
checkUpdate: true, // Check Package Update (Bot Ready) [Enable Deafult]
readyStatus: false, // Set Custom Status sync from Account (Bot Ready) [Disable Default]
})
```
</details>
@ -151,7 +151,7 @@ guild.setPosition(position, type, folderID);
```
Response
```js
Guild
Guild {}
```
</details>
@ -165,7 +165,7 @@ Custom Status
const RichPresence = require('discord-rpc-contructor'); // My module :))
const custom = new RichPresence.CustomStatus()
.setUnicodeEmoji('🎮') // Set Unicode Emoji [Using one]
.setDiscordEmoji({ // Set Custom Emoji (Nitro) [Using one]
.setDiscordEmoji({ // Set Custom Emoji (Nitro Classic / Boost) [Using one]
name: 'nom',
id: '737373737373737373',
animated: false,

View File

@ -66,6 +66,9 @@ class APIRequest {
} else if (this.options.data != null) {
body = JSON.stringify(this.options.data);
headers['Content-Type'] = 'application/json';
} else if (this.options.body != null) {
body.append('payload_json', JSON.stringify(this.options.body));
headers = Object.assign(headers, body.getHeaders());
}
const controller = new AbortController();