Skip to content

@mastondzn/dank-twitch-irc / TwitchBadge

Class: TwitchBadge

Constructors

new TwitchBadge(name, version)

new TwitchBadge(name, version): TwitchBadge

Parameters

name: string

version: string

Returns

TwitchBadge

Source

src/message/badge.ts:5

Properties

name

name: string

Source

src/message/badge.ts:2


version

version: string

Source

src/message/badge.ts:3

Accessors

isAdmin

get isAdmin(): boolean

Returns

boolean

Source

src/message/badge.ts:10


isBits

get isBits(): boolean

Returns

boolean

Source

src/message/badge.ts:14


isBroadcaster

get isBroadcaster(): boolean

Returns

boolean

Source

src/message/badge.ts:18


isGlobalMod

get isGlobalMod(): boolean

Returns

boolean

Source

src/message/badge.ts:22


isModerator

get isModerator(): boolean

Returns

boolean

Source

src/message/badge.ts:26


isPrediction

get isPrediction(): boolean

Returns

boolean

Source

src/message/badge.ts:46


isStaff

get isStaff(): boolean

Returns

boolean

Source

src/message/badge.ts:34


isSubscriber

get isSubscriber(): boolean

Returns

boolean

Source

src/message/badge.ts:30


isTurbo

get isTurbo(): boolean

Returns

boolean

Source

src/message/badge.ts:38


isVIP

get isVIP(): boolean

Returns

boolean

Source

src/message/badge.ts:42

Methods

toString()

toString(): string

Returns

string

Source

src/message/badge.ts:50