Relationship

Represents a Discord relationship.

Attributes

The relationship's type.

The target user of the relationship.

Methods

__init__(client, data, user_id)

Creates a relationship instance with the given parameters.

ParameterTypeDescription
client

Client

The client, who's relationship is created.

data

dict of (str, object)

Relationship data.

user_id

int

The relationship's target user's id.

__repr__()

Returns the representation of the relationship.