Relationship
Represents a Discord relationship.
Attributes type :
The relationship's type.
The target user of the relationship.
Methods
(client, data, user_id)
__init__Creates a relationship instance with the given parameters.
Parameter | Type | Description |
---|---|---|
client | The client, who's relationship is created. | |
data |
| Relationship data. |
user_id |
| The relationship's target user's id. |
()
__repr__Returns the representation of the relationship.