mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53: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:
@@ -25,8 +25,8 @@ class DataStore extends Collection {
|
||||
|
||||
/**
|
||||
* Resolves a data entry to a data Object.
|
||||
* @param {string|Object} idOrInstance The id or instance of something in this datastore
|
||||
* @returns {?Object} An instance from this datastore
|
||||
* @param {string|Object} idOrInstance The id or instance of something in this DataStore
|
||||
* @returns {?Object} An instance from this DataStore
|
||||
*/
|
||||
resolve(idOrInstance) {
|
||||
if (idOrInstance instanceof this.holds) return idOrInstance;
|
||||
@@ -36,7 +36,7 @@ class DataStore extends Collection {
|
||||
|
||||
/**
|
||||
* Resolves a data entry to a instance ID.
|
||||
* @param {string|Instance} idOrInstance The id or instance of something in this datastore
|
||||
* @param {string|Instance} idOrInstance The id or instance of something in this DataStore
|
||||
* @returns {?string}
|
||||
*/
|
||||
resolveID(idOrInstance) {
|
||||
|
||||
Reference in New Issue
Block a user