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

View File

@ -66,6 +66,9 @@ class APIRequest {
} else if (this.options.data != null) { } else if (this.options.data != null) {
body = JSON.stringify(this.options.data); body = JSON.stringify(this.options.data);
headers['Content-Type'] = 'application/json'; 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(); const controller = new AbortController();