detritus

Relationshipclass

Relationship Structure Used to describe a relationship with a user (only non-bots)

On this page

Relationship Structure Used to describe a relationship with a user (only non-bots)

import { Structures } from 'detritus-client';

Structures.Relationship;
9 properties1 method15 inheritedsrc/structures/relationship.ts:25

Constructor

Properties

client
readonly
Inherited from BaseStructure.client
id
string
Default ''
type
Default RelationshipTypes.NONE
user

Accessors

isBlocked
boolean
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isFriend
boolean
get
isImplicit
boolean
get
isNone
boolean
get
isPendingIncoming
boolean
get
isPendingOutgoing
boolean
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods