Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Readonly client

client: ShardClient

id

id: string = ''

type

type: RelationshipTypes = ...

user

user: User

Accessors

isBlocked

  • get isBlocked(): boolean

isClone

  • get isClone(): boolean

isFriend

  • get isFriend(): boolean

isImplicit

  • get isImplicit(): boolean

isNone

  • get isNone(): boolean

isPendingIncoming

  • get isPendingIncoming(): boolean

isPendingOutgoing

  • get isPendingOutgoing(): boolean

shardId

  • get shardId(): number

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

  • _setFromSnake(key: string, value: any): any

clone

difference

  • difference(key: string, value: any): [boolean, any]

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

  • mergeValue(key: string, value: any): void

toJSON

  • toJSON(): object

Generated using TypeDoc