Appearance
@mastondzn/dank-twitch-irc / HosttargetMessage
Class: HosttargetMessage
Extends
Constructors
new HosttargetMessage(message)
new HosttargetMessage(
message
):HosttargetMessage
Parameters
• message: IRCMessageData
Returns
Overrides
Source
src/message/twitch-types/hosttarget.ts:81
Properties
channelName
readonly
channelName:string
Inherited from
Source
src/message/irc/channel-irc-message.ts:35
hostedChannelName
readonly
hostedChannelName:undefined
|string
channel name if now hosting channel,
null if host mode was exited.
Source
src/message/twitch-types/hosttarget.ts:72
ircCommand
readonly
ircCommand:string
The parser ensures this is always uppercase
Inherited from
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
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
Source
src/message/irc/irc-message.ts:30
rawSource
readonly
rawSource:string
Inherited from
Source
src/message/irc/irc-message.ts:20
viewerCount
readonly
viewerCount:undefined
|number
The viewer count of the enabled host.
null if viewercount is unknown or host mode was exited.
Source
src/message/twitch-types/hosttarget.ts:79
Methods
wasHostModeEntered()
wasHostModeEntered():
this is ExitedHostModeHosttargetMessage
Returns
this is ExitedHostModeHosttargetMessage
Source
src/message/twitch-types/hosttarget.ts:95
wasHostModeExited()
wasHostModeExited():
this is ExitHostModeHosttargetMessage
Returns
this is ExitHostModeHosttargetMessage