mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs(Client): add missing example tag and closing parenthesis (#3024)
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user