From f13d27ca2e6873f1cc18feb6bb9102ca80ce04cf Mon Sep 17 00:00:00 2001 From: Muhimur <52611945+muhimur9049@users.noreply.github.com> Date: Sun, 8 Aug 2021 06:57:50 -0400 Subject: [PATCH] docs: grammar fixes (#6345) --- src/structures/GuildTemplate.js | 2 +- src/structures/Team.js | 2 +- src/structures/TeamMember.js | 2 +- src/util/Constants.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/structures/GuildTemplate.js b/src/structures/GuildTemplate.js index 5a09607e4..c09ce6105 100644 --- a/src/structures/GuildTemplate.js +++ b/src/structures/GuildTemplate.js @@ -205,7 +205,7 @@ class GuildTemplate extends Base { } /** - * When concatenated with a string, this automatically returns the templates's code instead of the template object. + * When concatenated with a string, this automatically returns the template's code instead of the template object. * @returns {string} * @example * // Logs: Template: FKvmczH2HyUf diff --git a/src/structures/Team.js b/src/structures/Team.js index 5ac80f7b2..63a28b0a7 100644 --- a/src/structures/Team.js +++ b/src/structures/Team.js @@ -80,7 +80,7 @@ class Team extends Base { } /** - * A link to the teams's icon. + * A link to the team's icon. * @param {StaticImageURLOptions} [options={}] Options for the Image URL * @returns {?string} */ diff --git a/src/structures/TeamMember.js b/src/structures/TeamMember.js index 52753fa66..146c291c1 100644 --- a/src/structures/TeamMember.js +++ b/src/structures/TeamMember.js @@ -50,7 +50,7 @@ class TeamMember extends Base { } /** - * When concatenated with a string, this automatically returns the team members's mention instead of the + * When concatenated with a string, this automatically returns the team member's mention instead of the * TeamMember object. * @returns {string} * @example diff --git a/src/util/Constants.js b/src/util/Constants.js index 9cc854cac..7c8a041d0 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -840,7 +840,7 @@ exports.APIErrors = { exports.DefaultMessageNotificationLevels = createEnum(['ALL_MESSAGES', 'ONLY_MENTIONS']); /** - * The value set for a team members's membership state: + * The value set for a team member's membership state: * * INVITED * * ACCEPTED * @typedef {string} MembershipState @@ -1052,7 +1052,7 @@ function createEnum(keys) { * The value set for the explicit content filter levels for a guild. * @property {InteractionResponseType} InteractionResponseTypes The type of an interaction response. * @property {InteractionType} InteractionTypes The type of an {@link Interaction} object. - * @property {MembershipState} MembershipStates The value set for a team members's membership state. + * @property {MembershipState} MembershipStates The value set for a team member's membership state. * @property {MessageButtonStyle} MessageButtonStyles The style of a message button. * @property {MessageComponentType} MessageComponentTypes The type of a message component. * @property {MFALevel} MFALevels The required MFA level for a guild.