Skip to content

@mastondzn/dank-twitch-irc / RoomstateMessage

Class: RoomstateMessage

Extends

Constructors

new RoomstateMessage(message)

new RoomstateMessage(message): RoomstateMessage

Parameters

message: IRCMessageData

Returns

RoomstateMessage

Overrides

ChannelIRCMessage.constructor

Source

src/message/twitch-types/roomstate.ts:56

Properties

channelID

readonly channelID: string

Source

src/message/twitch-types/roomstate.ts:39


channelName

readonly channelName: string

Inherited from

ChannelIRCMessage.channelName

Source

src/message/irc/channel-irc-message.ts:35


emoteOnly

readonly emoteOnly: undefined | boolean

Source

src/message/twitch-types/roomstate.ts:41


emoteOnlyRaw

readonly emoteOnlyRaw: undefined | string

Source

src/message/twitch-types/roomstate.ts:42


followersOnlyDuration

readonly followersOnlyDuration: undefined | number

Source

src/message/twitch-types/roomstate.ts:44


followersOnlyDurationRaw

readonly followersOnlyDurationRaw: undefined | string

Source

src/message/twitch-types/roomstate.ts:45


ircCommand

readonly ircCommand: string

The parser ensures this is always uppercase

Inherited from

ChannelIRCMessage.ircCommand

Source

src/message/irc/irc-message.ts:28


ircParameters

readonly ircParameters: string[]

Inherited from

ChannelIRCMessage.ircParameters

Source

src/message/irc/irc-message.ts:29


ircPrefix

readonly ircPrefix: undefined | IRCMessagePrefix

Inherited from

ChannelIRCMessage.ircPrefix

Source

src/message/irc/irc-message.ts:23


ircPrefixRaw

readonly ircPrefixRaw: undefined | string

Inherited from

ChannelIRCMessage.ircPrefixRaw

Source

src/message/irc/irc-message.ts:22


ircTags

readonly ircTags: IRCMessageTags

Inherited from

ChannelIRCMessage.ircTags

Source

src/message/irc/irc-message.ts:30


r9k

readonly r9k: undefined | boolean

Source

src/message/twitch-types/roomstate.ts:47


r9kRaw

readonly r9kRaw: undefined | string

Source

src/message/twitch-types/roomstate.ts:48


rawSource

readonly rawSource: string

Inherited from

ChannelIRCMessage.rawSource

Source

src/message/irc/irc-message.ts:20


slowModeDuration

readonly slowModeDuration: undefined | number

Source

src/message/twitch-types/roomstate.ts:50


slowModeDurationRaw

readonly slowModeDurationRaw: undefined | string

Source

src/message/twitch-types/roomstate.ts:51


subscribersOnly

readonly subscribersOnly: undefined | boolean

Source

src/message/twitch-types/roomstate.ts:53


subscribersOnlyRaw

readonly subscribersOnlyRaw: undefined | string

Source

src/message/twitch-types/roomstate.ts:54

Methods

extractRoomState()

extractRoomState(): Partial<RoomState>

Returns

Partial<RoomState>

Source

src/message/twitch-types/roomstate.ts:78