Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClearchatMessage

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly banDuration

banDuration: number | undefined

length in seconds (integer), undefined if permanent ban

Readonly channelName

channelName: string

Readonly ircCommand

ircCommand: string

The parser ensures this is always uppercase

Readonly ircParameters

ircParameters: string[]

Readonly ircPrefix

ircPrefix: IRCMessagePrefix | undefined

Readonly ircPrefixRaw

ircPrefixRaw: string | undefined

Readonly ircTags

Readonly rawSource

rawSource: string

Readonly targetUsername

targetUsername: string | undefined

The target username, undefined if this CLEARCHAT message clears the entire chat.

Methods

isPermaban

  • isPermaban(): this is PermabanClearchatMessage

isTimeout

  • isTimeout(): this is TimeoutClearchatMessage

wasChatCleared

  • wasChatCleared(): this is ClearChatClearchatMessage

Generated using TypeDoc