mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Improve docs
This commit is contained in:
@@ -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)
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user