docs: Description

This commit is contained in:
Cinnamon 2022-06-26 13:54:43 +07:00
parent 736238f3df
commit 3b2d88caf9
9 changed files with 35 additions and 10 deletions

View File

@ -1,3 +1,3 @@
{
"ignorePatterns": ["node_modules/*"],
}
}

View File

@ -282,4 +282,4 @@
}
]
}
}
}

View File

@ -4,4 +4,4 @@
"trailingComma": "all",
"endOfLine": "lf",
"arrowParens": "avoid"
}
}

View File

@ -13,6 +13,31 @@ URL example:
'https://discord.com/api/v9/users/@me'
const url = client.api.users['@me'];
/* 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'
...
```

View File

@ -14,7 +14,7 @@
## 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.
@ -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)
## Links Discord.js
## Links (Discord.js)
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
- [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)
- [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
[documentation](https://discord.js.org/#/docs).

File diff suppressed because one or more lines are too long

View File

@ -68,7 +68,7 @@ class User extends Base {
*/
this.mutualGuilds = new Collection();
/**
* [Bot] Interaction command manager
* [Bot] Application
* @type {?ClientApplication}
* @readonly
*/

View File

@ -44,4 +44,4 @@
"skipLibCheck": false,
"skipDefaultLibCheck": true,
}
}
}

View File

@ -27,4 +27,4 @@
"void-return": false,
"ban-ts-ignore": false
}
}
}