onCommandTimer

Adds, deletes or lists timers for the specified target channel.

Changes are persistently saved to the TimerPlugin.timersFile file.

version(WithTimerPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.operator).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("timer").policy(PrefixPolicy.prefixed).description("Adds, removes or lists timers.").addSyntax("$command new [name] [type] [condition] [message count threshold] " ~ "[time threshold] [optional stagger message count] [optional stagger time]").addSyntax("$command modify [name] [type] [condition] [message count threshold] " ~ "[time threshold] [optional stagger message count] [optional stagger time]").addSyntax("$command add [existing timer name] [new timer line]").addSyntax("$command insert [timer name] [position] [new timer line]").addSyntax("$command edit [timer name] [position] [new timer line]").addSyntax("$command del [timer name] [optional line number]").addSyntax("$command suspend [timer name]").addSyntax("$command resume [timer name]").addSyntax("$command list"))
void
onCommandTimer