mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Various documentation adjustments (#2001)
* docs(various): Add "at" to createdAt description * docs(Client): Adjust to fit with guilds property * docs(various): Adjust phrasing & fix typos * docs(various): Clarifications * docs(Permissions): fix numerus * docs(DataStore): capitalize DataStore * docs(various): Formatting changes * docs(Presence): Expand RichPresenceAssets docs * Add space
This commit is contained in:
@@ -58,7 +58,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* The time the emoji was created
|
||||
* The time the emoji was created at
|
||||
* @type {Date}
|
||||
* @readonly
|
||||
*/
|
||||
@@ -126,7 +126,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the name of the emoji.
|
||||
* Sets the name of the emoji.
|
||||
* @param {string} name The new name for the emoji
|
||||
* @param {string} [reason] Reason for changing the emoji's name
|
||||
* @returns {Promise<Emoji>}
|
||||
@@ -136,7 +136,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a role to the list of roles that can use this emoji.
|
||||
* Adds a role to the list of roles that can use this emoji.
|
||||
* @param {Role} role The role to add
|
||||
* @returns {Promise<Emoji>}
|
||||
*/
|
||||
@@ -145,7 +145,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add multiple roles to the list of roles that can use this emoji.
|
||||
* Adds multiple roles to the list of roles that can use this emoji.
|
||||
* @param {Collection<Snowflake, Role>|RoleResolvable[]} roles Roles to add
|
||||
* @returns {Promise<Emoji>}
|
||||
*/
|
||||
@@ -163,7 +163,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove a role from the list of roles that can use this emoji.
|
||||
* Removes a role from the list of roles that can use this emoji.
|
||||
* @param {Role} role The role to remove
|
||||
* @returns {Promise<Emoji>}
|
||||
*/
|
||||
@@ -172,7 +172,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove multiple roles from the list of roles that can use this emoji.
|
||||
* Removes multiple roles from the list of roles that can use this emoji.
|
||||
* @param {Collection<Snowflake, Role>|RoleResolvable[]} roles Roles to remove
|
||||
* @returns {Promise<Emoji>}
|
||||
*/
|
||||
@@ -202,7 +202,7 @@ class Emoji extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the emoji.
|
||||
* Deletes the emoji.
|
||||
* @param {string} [reason] Reason for deleting the emoji
|
||||
* @returns {Promise<Emoji>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user