Skip to content

Commit

Permalink
docs(Client): fix incorrect managers descriptions
Browse files Browse the repository at this point in the history
Co-authored-by: Luna <[email protected]>
  • Loading branch information
2 people authored and vladfrangu committed Oct 11, 2024
1 parent b16d851 commit 960a80d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/discord.js/src/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@ class Client extends BaseClient {
: null;

/**
* All of the {@link User} objects that have been cached at any point, mapped by their ids
* The user manager of this client
* @type {UserManager}
*/
this.users = new UserManager(this);

/**
* All of the guilds the client is currently handling, mapped by their ids -
* A manager of all the guilds the client is currently handling -
* as long as sharding isn't being used, this will be *every* guild the bot is a member of
* @type {GuildManager}
*/
this.guilds = new GuildManager(this);

/**
* All of the {@link BaseChannel}s that the client is currently handling, mapped by their ids -
* as long as no sharding manager is being used, this will be *every* channel in *every* guild the bot
* All of the {@link BaseChannel}s that the client is currently handling -
* as long as sharding isn't being used, this will be *every* channel in *every* guild the bot
* is a member of. Note that DM channels will not be initially cached, and thus not be present
* in the Manager without their explicit fetching or use.
* @type {ChannelManager}
Expand Down Expand Up @@ -218,7 +218,7 @@ class Client extends BaseClient {
}

/**
* All custom emojis that the client has access to, mapped by their ids
* A manager of all the custom emojis that the client has access to
* @type {BaseGuildEmojiManager}
* @readonly
*/
Expand Down

0 comments on commit 960a80d

Please sign in to comment.