docs: Consistent application name usage (#5853)

This commit is contained in:
Jiralite
2021-06-15 12:02:39 +01:00
committed by GitHub
parent 038ee99604
commit 96a4e7b86e
3 changed files with 13 additions and 13 deletions

View File

@@ -18,32 +18,32 @@ class Application extends Base {
_patch(data) {
/**
* The ID of the app
* The ID of the application
* @type {Snowflake}
*/
this.id = data.id;
/**
* The name of the app
* The name of the application
* @type {?string}
*/
this.name = data.name ?? this.name ?? null;
/**
* The app's description
* The application's description
* @type {?string}
*/
this.description = data.description ?? this.description ?? null;
/**
* The app's icon hash
* The application's icon hash
* @type {?string}
*/
this.icon = data.icon ?? this.icon ?? null;
}
/**
* The timestamp the app was created at
* The timestamp the application was created at
* @type {number}
* @readonly
*/
@@ -52,7 +52,7 @@ class Application extends Base {
}
/**
* The time the app was created at
* The time the application was created at
* @type {Date}
* @readonly
*/
@@ -89,7 +89,7 @@ class Application extends Base {
*/
/**
* Gets the clients rich presence assets.
* Gets the application's rich presence assets.
* @returns {Promise<Array<ApplicationAsset>>}
*/
fetchAssets() {