From 8915bc1d37f1b83fc9bbd3cfef337bd5f75e4779 Mon Sep 17 00:00:00 2001 From: Darqam Date: Mon, 6 May 2019 20:08:56 +0200 Subject: [PATCH] docs:(Client): disambiguate the description of channels collection (#3251) * Disambiguate the description of .channels Although not explicitly said, the current wording makes it seem like all channels are cached and available at any time in this store. Hopefully this variation makes it a bit clearer. * make more explicit (I think) * remove trailing white spaces --- src/client/Client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/Client.js b/src/client/Client.js index 58d3c7db1..257a5cd81 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -113,7 +113,8 @@ class Client extends BaseClient { /** * All of the {@link Channel}s that the client is currently handling, mapped by their IDs - * as long as sharding isn't being used, this will be *every* channel in *every* guild the bot - * is a member of, and all DM channels + * is a member of. Note that DM channels will not be initially cached, and thus not be present + * in the store without their explicit fetching or use. * @type {ChannelStore} */ this.channels = new ChannelStore(this);