mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: grammar fixes (#6345)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user