fix: document
This commit is contained in:
parent
c9f1010e54
commit
81bc22f388
File diff suppressed because one or more lines are too long
@ -10,8 +10,8 @@ module.exports = (client, { d: data }) => {
|
||||
/**
|
||||
* Emitted whenever a relationship is updated.
|
||||
* @event Client#relationshipAdd
|
||||
* @param {UserId} user The userID that was updated
|
||||
* @param {RelationshipTypes} type The new relationship type
|
||||
* @param {Snowflake} user The userID that was updated
|
||||
* @param {RelationshipTypes} type The new relationship type (String)
|
||||
*/
|
||||
client.emit(Events.RELATIONSHIP_ADD, data.id, RelationshipTypes[data.type]);
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ module.exports = (client, { d: data }) => {
|
||||
/**
|
||||
* Emitted whenever a relationship is updated.
|
||||
* @event Client#relationshipRemove
|
||||
* @param {UserId} user The userID that was updated
|
||||
* @param {Snowflake} user The userID that was updated
|
||||
*/
|
||||
client.emit(Events.RELATIONSHIP_REMOVE, data.id);
|
||||
};
|
||||
|
@ -18,7 +18,7 @@ class RelationshipsManager {
|
||||
*/
|
||||
this.client = client;
|
||||
/**
|
||||
* A collection of users this manager is caching.
|
||||
* A collection of users this manager is caching. (Type: Number)
|
||||
* @type {Collection<Snowflake, RelationshipTypes>}
|
||||
* @readonly
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user