Improve docs

This commit is contained in:
Crawl
2017-04-24 16:29:29 +02:00
parent 401822a094
commit 53eda09f72
16 changed files with 34 additions and 25 deletions

View File

@@ -72,7 +72,7 @@ class GroupDMChannel extends Channel {
/**
* Nicknames for group members
* @type {?Collection<Snowflake, String>}
* @type {?Collection<Snowflake, string>}
*/
if (data.nicks) this.nicks = new Collection(data.nicks.map(n => [n.id, n.nick]));
@@ -126,7 +126,7 @@ class GroupDMChannel extends Channel {
/**
* Add a user to the dm
* @param {UserResolvable|String} accessTokenOrID Access token or user resolvable
* @param {UserResolvable|string} accessTokenOrID Access token or user resolvable
* @param {string} [nick] Permanent nickname to give the user (only available if a bot is creating the dm)
*/

View File

@@ -28,7 +28,7 @@ class UserProfile {
/**
* The user's connections
* @type {Collection<String, UserConnection>}
* @type {Collection<Snowflake, UserConnection>}
*/
this.connections = new Collection();