sendMessage

Sends a message to the channel or user that triggered the event. If HelpSettings.repliesInQuery is set, we send the message as a query; otherwise we send it to the channel.

If we're connected to Twitch, we use kameloso.messaging.reply instead to (possibly) send the message as a whisper, provided the TwitchPlugin is compiled in.

version(WithHelpPlugin)
private
void
sendMessage
(,,
const string content
,,
const string caller = __FUNCTION__
)

Parameters

plugin HelpPlugin

The current HelpPlugin.

event IRCEvent

The triggering IRCEvent.

content string

Message body content to send.

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.