Options
All
  • Public
  • Public/Protected
  • All
Menu

Project dogehq

Index

Type aliases

Arguments

Arguments<T>: [T] extends [(...args: infer U) => any] ? U : [T] extends [void] ? [] : [T]

Type parameters

  • T

EditResponse

EditResponse: { error: string } | { room: RoomInfo }

PeoplePreview

PeoplePreview: { displayName: string; id: string; numFollowers: number }[]

UUID

UUID: string

Variables

Const authUrl

authUrl: "https://api.dogehouse.tv/bot/auth" = 'https://api.dogehouse.tv/bot/auth'

The authorization url for bots.

Const baseUrl

baseUrl: "wss://api.dogehouse.tv/socket" = 'wss://api.dogehouse.tv/socket'

The base WS url.

Const version

version: "1.7.0" = '1.7.0'

Functions

Const isIso

  • isIso(str: string): boolean
  • Checks if the date is ISO formatted.

    Parameters

    • str: string

      The date.

    Returns boolean

    If its ISO formatted.

Const toCodeBlock

  • toCodeBlock(text: string): CodeBlockToken
  • Convert a string to a codeblock!

    Parameters

    • text: string

      The text to convert.

    Returns CodeBlockToken

    The token.

Const toEmote

  • toEmote(text: string): EmoteToken
  • Convert a string to an emote!

    Parameters

    • text: string

      The text to convert.

    Returns EmoteToken

    The token.

Const toLink

  • toLink(text: string): LinkToken

Const toMention

  • toMention(text: string): MentionToken
  • Convert a string to a mention!

    Parameters

    • text: string

      The text to convert.

    Returns MentionToken

    The token.

Const toString

  • toString(text: string): TextToken
  • Convert a string to a token!

    Parameters

    • text: string

      The text to convert.

    Returns TextToken

    The token.

Generated using TypeDoc