Appearance
@mastondzn/dank-twitch-irc / AlternateMessageModifier
Class: AlternateMessageModifier
Implements
Constructors
new AlternateMessageModifier(client)
new AlternateMessageModifier(
client
):AlternateMessageModifier
Parameters
• client: ChatClient
Returns
Source
src/mixins/alternate-message-modifier.ts:18
Properties
client
private
readonly
client:ChatClient
Source
src/mixins/alternate-message-modifier.ts:15
lastMessages
private
readonly
lastMessages:Record
<string
,LastMessage
> ={}
Source
src/mixins/alternate-message-modifier.ts:16
Methods
appendInvisibleCharacter()
appendInvisibleCharacter(
channelName
,messageText
,action
):string
Parameters
• channelName: string
• messageText: string
• action: boolean
Returns
string
Source
src/mixins/alternate-message-modifier.ts:22
applyToClient()
applyToClient(
client
):void
Parameters
• client: ChatClient
Returns
void
Implementation of
Source
src/mixins/alternate-message-modifier.ts:36
onPrivmsgMessage()
private
onPrivmsgMessage(message
):void
Parameters
• message: PrivmsgMessage
Returns
void