mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
docs(Client): add missing example tag and closing parenthesis (#3024)
This commit is contained in:
parent
5ed2a95856
commit
3b7b282b69
1 changed files with 2 additions and 1 deletions
|
|
@ -395,8 +395,9 @@ class Client extends EventEmitter {
|
||||||
* <warn>Bots can only fetch their own profile.</warn>
|
* <warn>Bots can only fetch their own profile.</warn>
|
||||||
* @param {Snowflake} [id='@me'] ID of application to fetch
|
* @param {Snowflake} [id='@me'] ID of application to fetch
|
||||||
* @returns {Promise<OAuth2Application>}
|
* @returns {Promise<OAuth2Application>}
|
||||||
|
* @example
|
||||||
* client.fetchApplication()
|
* client.fetchApplication()
|
||||||
* .then(application => console.log(`Obtained application with name: ${application.name}`)
|
* .then(application => console.log(`Obtained application with name: ${application.name}`))
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
fetchApplication(id = '@me') {
|
fetchApplication(id = '@me') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue