Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Typing

Channel Typing Structure used to tell you when someone starts typing in a channel

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysTyping

_keysMerge

_keysMerge: BaseSet<string> = keysMergeTyping

channelId

channelId: string = ""

client

client: ShardClient

Optional guildId

guildId: undefined | string

Optional member

member: Member

started

started: number = 0

stopped

stopped: number = 0

timeout

timeout: Timeout = new Timers.Timeout()

timestamp

timestamp: number = 0

userId

userId: string = ""

Accessors

channel

  • Returns Channel | null

guild

  • get guild(): Guild | null
  • Returns Guild | null

shardId

  • get shardId(): number
  • Returns number

shouldStopAt

  • get shouldStopAt(): number
  • Returns number

user

  • get user(): null | User
  • Returns null | User

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

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

    • key: string
    • value: any

    Returns any

_stop

  • _stop(emit?: boolean): void
  • Parameters

    • Default value emit: boolean = true

    Returns void

difference

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

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

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

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc