processMessages

Processes messages and performs action based on them.

The return value signals to the caller whether the received action means the bot should exit or not.

private
processMessages
(,
const SysTime now
,)

Parameters

instance Kameloso

The current Kameloso instance.

now SysTime

The current time as a SysTime.

onlyThisPlugin IRCPlugin

An optional IRCPlugin which, if specified, should be the only plugin whose messages are processed.

Return Value

Type: auto

A Next value, signaling to the caller whether the bot should exit or not.