Appearance
@mastondzn/dank-twitch-irc / ClearchatMessage
Class: ClearchatMessage
Extends
Constructors
new ClearchatMessage(message)
new ClearchatMessage(
message
):ClearchatMessage
Parameters
• message: IRCMessageData
Returns
Overrides
Source
src/message/twitch-types/clearchat.ts:17
Properties
banDuration
readonly
banDuration:undefined
|number
length in seconds (integer), undefined if permanent ban
Source
src/message/twitch-types/clearchat.ts:15
channelName
readonly
channelName:string
Inherited from
Source
src/message/irc/channel-irc-message.ts:35
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
targetUsername
readonly
targetUsername:undefined
|string
The target username, undefined if this <code>
CLEARCHAT</code>
message clears the entire chat.
Source
src/message/twitch-types/clearchat.ts:10
Methods
isPermaban()
isPermaban():
this is PermabanClearchatMessage
Returns
this is PermabanClearchatMessage
Source
src/message/twitch-types/clearchat.ts:33
isTimeout()
isTimeout():
this is TimeoutClearchatMessage
Returns
this is TimeoutClearchatMessage
Source
src/message/twitch-types/clearchat.ts:29
wasChatCleared()
wasChatCleared():
this is ClearChatClearchatMessage
Returns
this is ClearChatClearchatMessage