Appearance
@mastondzn/dank-twitch-irc / ClearChatClearchatMessage
Interface: ClearChatClearchatMessage
Extends
Properties
banDuration
banDuration:
undefined
length in seconds (integer), undefined if permanent ban
Overrides
Source
src/message/twitch-types/clearchat.ts:40
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
ClearchatMessage
.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
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
targetUsername:
undefined
The target username, undefined if this <code>
CLEARCHAT</code>
message clears the entire chat.
Overrides
ClearchatMessage
.targetUsername
Source
src/message/twitch-types/clearchat.ts:39
Methods
isPermaban()
isPermaban():
this is PermabanClearchatMessage
Returns
this is PermabanClearchatMessage
Inherited from
Source
src/message/twitch-types/clearchat.ts:33
isTimeout()
isTimeout():
this is TimeoutClearchatMessage
Returns
this is TimeoutClearchatMessage
Inherited from
Source
src/message/twitch-types/clearchat.ts:29
wasChatCleared()
wasChatCleared():
this is ClearChatClearchatMessage
Returns
this is ClearChatClearchatMessage
Inherited from
ClearchatMessage
.wasChatCleared