mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +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}
|
* @returns {string}
|
||||||
* @example
|
* @example
|
||||||
* // Logs: Template: FKvmczH2HyUf
|
* // 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
|
* @param {StaticImageURLOptions} [options={}] Options for the Image URL
|
||||||
* @returns {?string}
|
* @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.
|
* TeamMember object.
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
* @example
|
* @example
|
||||||
|
|||||||
@@ -840,7 +840,7 @@ exports.APIErrors = {
|
|||||||
exports.DefaultMessageNotificationLevels = createEnum(['ALL_MESSAGES', 'ONLY_MENTIONS']);
|
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
|
* * INVITED
|
||||||
* * ACCEPTED
|
* * ACCEPTED
|
||||||
* @typedef {string} MembershipState
|
* @typedef {string} MembershipState
|
||||||
@@ -1052,7 +1052,7 @@ function createEnum(keys) {
|
|||||||
* The value set for the explicit content filter levels for a guild.
|
* The value set for the explicit content filter levels for a guild.
|
||||||
* @property {InteractionResponseType} InteractionResponseTypes The type of an interaction response.
|
* @property {InteractionResponseType} InteractionResponseTypes The type of an interaction response.
|
||||||
* @property {InteractionType} InteractionTypes The type of an {@link Interaction} object.
|
* @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 {MessageButtonStyle} MessageButtonStyles The style of a message button.
|
||||||
* @property {MessageComponentType} MessageComponentTypes The type of a message component.
|
* @property {MessageComponentType} MessageComponentTypes The type of a message component.
|
||||||
* @property {MFALevel} MFALevels The required MFA level for a guild.
|
* @property {MFALevel} MFALevels The required MFA level for a guild.
|
||||||
|
|||||||
Reference in New Issue
Block a user