docs: Description
This commit is contained in:
parent
736238f3df
commit
3b2d88caf9
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"ignorePatterns": ["node_modules/*"],
|
"ignorePatterns": ["node_modules/*"],
|
||||||
}
|
}
|
||||||
|
@ -282,4 +282,4 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
"trailingComma": "all",
|
"trailingComma": "all",
|
||||||
"endOfLine": "lf",
|
"endOfLine": "lf",
|
||||||
"arrowParens": "avoid"
|
"arrowParens": "avoid"
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,31 @@ URL example:
|
|||||||
'https://discord.com/api/v9/users/@me'
|
'https://discord.com/api/v9/users/@me'
|
||||||
const url = client.api.users['@me'];
|
const url = client.api.users['@me'];
|
||||||
/* Method: GET | POST | PUT | PATCH | DELETE */
|
/* Method: GET | POST | PUT | PATCH | DELETE */
|
||||||
|
Option:
|
||||||
|
#1
|
||||||
|
query: Object
|
||||||
|
|
||||||
|
- example: https://discord.com/api/v9/users/@me?abc=123&xyz=ok (GET)
|
||||||
|
|
||||||
|
client.api.users['@me'].get({
|
||||||
|
query: {
|
||||||
|
abc: 123,
|
||||||
|
xyz: 'ok',
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
#2
|
||||||
|
|
||||||
|
body + files: Object + Array
|
||||||
|
-> 'content-type': FormData (POST)
|
||||||
|
|
||||||
|
#3
|
||||||
|
|
||||||
|
data: Object
|
||||||
|
-> 'content-type': 'application/json'
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
<strong>Welcome to `discord.js-selfbot-v13@v2.3`, based on `discord.js@13.8.0`</strong>
|
<strong>Welcome to `discord.js-selfbot-v13@v2.3`, based on `discord.js@13.8.1`</strong>
|
||||||
|
|
||||||
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
|
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
|
|||||||
|
|
||||||
Credit: <img src="https://cdn.discordapp.com/emojis/889092230063734795.png" alt="." width="16" height="16"/> [<strong>hxr404</strong>](https://github.com/hxr404/Discord-Console-hacks)
|
Credit: <img src="https://cdn.discordapp.com/emojis/889092230063734795.png" alt="." width="16" height="16"/> [<strong>hxr404</strong>](https://github.com/hxr404/Discord-Console-hacks)
|
||||||
|
|
||||||
## Links Discord.js
|
## Links (Discord.js)
|
||||||
|
|
||||||
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
|
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
|
||||||
- [Documentation](https://discord.js.org/#/docs)
|
- [Documentation](https://discord.js.org/#/docs)
|
||||||
@ -107,7 +107,7 @@ Credit: <img src="https://cdn.discordapp.com/emojis/889092230063734795.png" alt=
|
|||||||
- [npm](https://www.npmjs.com/package/discord.js)
|
- [npm](https://www.npmjs.com/package/discord.js)
|
||||||
- [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries)
|
- [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries)
|
||||||
|
|
||||||
## Contributing Discord.js
|
## Contributing
|
||||||
|
|
||||||
- Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
- Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
||||||
[documentation](https://discord.js.org/#/docs).
|
[documentation](https://discord.js.org/#/docs).
|
||||||
|
File diff suppressed because one or more lines are too long
@ -68,7 +68,7 @@ class User extends Base {
|
|||||||
*/
|
*/
|
||||||
this.mutualGuilds = new Collection();
|
this.mutualGuilds = new Collection();
|
||||||
/**
|
/**
|
||||||
* [Bot] Interaction command manager
|
* [Bot] Application
|
||||||
* @type {?ClientApplication}
|
* @type {?ClientApplication}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
@ -44,4 +44,4 @@
|
|||||||
"skipLibCheck": false,
|
"skipLibCheck": false,
|
||||||
"skipDefaultLibCheck": true,
|
"skipDefaultLibCheck": true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,4 +27,4 @@
|
|||||||
"void-return": false,
|
"void-return": false,
|
||||||
"ban-ts-ignore": false
|
"ban-ts-ignore": false
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user