mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +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>
|
||||
* @param {Snowflake} [id='@me'] ID of application to fetch
|
||||
* @returns {Promise<OAuth2Application>}
|
||||
* @example
|
||||
* 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);
|
||||
*/
|
||||
fetchApplication(id = '@me') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue