handleSuspendTimer

Suspends or resumes a timer, by modifying Timer.suspended.

version(WithTimerPlugin)
private
void
handleSuspendTimer
(,
const ref IRCEvent event
,
string slice
,
const Flag!"suspend" suspend
)

Parameters

plugin TimerPlugin

The current TimerPlugin.

event IRCEvent

The IRCEvent that requested the suspend or resume.

slice string

Relevant slice of the original request string.

suspend Flag!"suspend"

Whether or not a suspend action was requested. If No.suspend, then a resume action was requested.