Skip to content

@mastondzn/dank-twitch-irc / CapMessage

Class: CapMessage

Extends

Constructors

new CapMessage(message)

new CapMessage(message): CapMessage

Parameters

message: IRCMessageData

Returns

CapMessage

Overrides

IRCMessage.constructor

Source

src/message/twitch-types/cap.ts:17

Properties

capabilities

readonly capabilities: string[]

Source

src/message/twitch-types/cap.ts:16


ircCommand

readonly ircCommand: string

The parser ensures this is always uppercase

Inherited from

IRCMessage.ircCommand

Source

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


ircParameters

readonly ircParameters: string[]

Inherited from

IRCMessage.ircParameters

Source

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


ircPrefix

readonly ircPrefix: undefined | IRCMessagePrefix

Inherited from

IRCMessage.ircPrefix

Source

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


ircPrefixRaw

readonly ircPrefixRaw: undefined | string

Inherited from

IRCMessage.ircPrefixRaw

Source

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


ircTags

readonly ircTags: IRCMessageTags

Inherited from

IRCMessage.ircTags

Source

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


rawSource

readonly rawSource: string

Inherited from

IRCMessage.rawSource

Source

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


subCommand

readonly subCommand: string

Source

src/message/twitch-types/cap.ts:15