From 4c11347511e24021ec4765c44ffb3cdf53e53619 Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Wed, 26 Jun 2019 11:42:03 +0200 Subject: [PATCH] docs(Team*): fix appliction -> team, tag -> mention --- src/structures/Team.js | 6 +++--- src/structures/TeamMember.js | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/structures/Team.js b/src/structures/Team.js index 0832a31f3..cec984b6b 100644 --- a/src/structures/Team.js +++ b/src/structures/Team.js @@ -62,7 +62,7 @@ class Team extends Base { } /** - * The timestamp the app was created at + * The timestamp the team was created at * @type {number} * @readonly */ @@ -71,7 +71,7 @@ class Team extends Base { } /** - * The time the app was created at + * The time the team was created at * @type {Date} * @readonly */ @@ -80,7 +80,7 @@ class Team extends Base { } /** - * A link to the application's icon. + * A link to the teams's icon. * @param {ImageURLOptions} [options={}] Options for the Image URL * @returns {?string} URL to the icon */ diff --git a/src/structures/TeamMember.js b/src/structures/TeamMember.js index e5567143c..03bcf6ec2 100644 --- a/src/structures/TeamMember.js +++ b/src/structures/TeamMember.js @@ -22,13 +22,13 @@ class TeamMember extends Base { _patch(data) { /** - * The permissions this Team Member has with reguard to the team + * The permissions this Team Member has with regard to the team * @type {string[]} */ this.permissions = data.permissions; /** - * The permissions this Team Member has with reguard to the team + * The permissions this Team Member has with regard to the team * @type {MembershipStates} */ this.membershipState = MembershipStates[data.membership_state]; @@ -50,12 +50,12 @@ class TeamMember extends Base { } /** - * When concatenated with a string, this automatically returns the team members's tag instead of the + * When concatenated with a string, this automatically returns the team members's mention instead of the * TeamMember object. * @returns {string} * @example - * // Logs: Team Member's tag: @Hydrabolt - * console.log(`Team Member's tag: ${teamMember}`); + * // Logs: Team Member's mention: <@123456789012345678> + * console.log(`Team Member's mention: ${teamMember}`); */ toString() { return this.user.toString();