Skip to content

@mastondzn/dank-twitch-irc / UserstateMessage

Class: UserstateMessage

State of the logged in user in a channel.

Extends

Implements

Constructors

new UserstateMessage(message)

new UserstateMessage(message): UserstateMessage

Parameters

message: IRCMessageData

Returns

UserstateMessage

Overrides

ChannelIRCMessage.constructor

Source

src/message/twitch-types/userstate.ts:38

Properties

badgeInfo

readonly badgeInfo: TwitchBadgesList

Implementation of

UserState.badgeInfo

Source

src/message/twitch-types/userstate.ts:26


badgeInfoRaw

readonly badgeInfoRaw: string

Implementation of

UserState.badgeInfoRaw

Source

src/message/twitch-types/userstate.ts:27


badges

readonly badges: TwitchBadgesList

Implementation of

UserState.badges

Source

src/message/twitch-types/userstate.ts:28


badgesRaw

readonly badgesRaw: string

Implementation of

UserState.badgesRaw

Source

src/message/twitch-types/userstate.ts:29


channelName

readonly channelName: string

Inherited from

ChannelIRCMessage.channelName

Source

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


color

readonly color: undefined | Color

Implementation of

UserState.color

Source

src/message/twitch-types/userstate.ts:30


colorRaw

readonly colorRaw: string

Implementation of

UserState.colorRaw

Source

src/message/twitch-types/userstate.ts:31


displayName

readonly displayName: string

Implementation of

UserState.displayName

Source

src/message/twitch-types/userstate.ts:32


emoteSets

readonly emoteSets: TwitchEmoteSets

Implementation of

UserState.emoteSets

Source

src/message/twitch-types/userstate.ts:33


emoteSetsRaw

readonly emoteSetsRaw: string

Implementation of

UserState.emoteSetsRaw

Source

src/message/twitch-types/userstate.ts:34


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


isMod

readonly isMod: boolean

Implementation of

UserState.isMod

Source

src/message/twitch-types/userstate.ts:35


isModRaw

readonly isModRaw: string

Implementation of

UserState.isModRaw

Source

src/message/twitch-types/userstate.ts:36


rawSource

readonly rawSource: string

Inherited from

ChannelIRCMessage.rawSource

Source

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

Methods

extractUserState()

extractUserState(): UserState

Returns

UserState

Source

src/message/twitch-types/userstate.ts:61