announce

Sends an announcement to a Twitch channel.

Requires version TwitchSupport, without which it will just pass on to chan.

void
announce
(,,
const string content
,
const string colour = "primary"
,,
const string caller = __FUNCTION__
)

Parameters

state IRCPluginState

The current plugin's IRCPluginState, via which to send messages to the server.

channel IRCEvent.Channel

Channel in which to send the message.

content string

Message body content to send.

colour string

Colour of the announcement, one of "primary", "blue", "green", "orange", "purple".

properties Message.Property

Custom message properties, such as Message.Property.quiet and Message.Property.forced.

caller string

String name of the calling function, or something else that gives context.

See Also