Skip to content

@mastondzn/dank-twitch-irc / TimeoutClearchatMessage

Interface: TimeoutClearchatMessage

Extends

Properties

banDuration

banDuration: number

length in seconds (integer), undefined if permanent ban

Overrides

ClearchatMessage.banDuration

Source

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


channelName

readonly channelName: string

Inherited from

ClearchatMessage.channelName

Source

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


ircCommand

readonly ircCommand: string

The parser ensures this is always uppercase

Inherited from

ClearchatMessage.ircCommand

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

ClearchatMessage.ircPrefix

Source

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


ircPrefixRaw

readonly ircPrefixRaw: undefined | string

Inherited from

ClearchatMessage.ircPrefixRaw

Source

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


ircTags

readonly ircTags: IRCMessageTags

Inherited from

ClearchatMessage.ircTags

Source

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


rawSource

readonly rawSource: string

Inherited from

ClearchatMessage.rawSource

Source

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


targetUsername

targetUsername: string

The target username, undefined if this <code>CLEARCHAT</code> message clears the entire chat.

Overrides

ClearchatMessage.targetUsername

Source

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

Methods

isPermaban()

isPermaban(): this is PermabanClearchatMessage

Returns

this is PermabanClearchatMessage

Inherited from

ClearchatMessage.isPermaban

Source

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


isTimeout()

isTimeout(): this is TimeoutClearchatMessage

Returns

this is TimeoutClearchatMessage

Inherited from

ClearchatMessage.isTimeout

Source

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


wasChatCleared()

wasChatCleared(): this is ClearChatClearchatMessage

Returns

this is ClearChatClearchatMessage

Inherited from

ClearchatMessage.wasChatCleared

Source

src/message/twitch-types/clearchat.ts:25