IRCCD-PLUGIN-HISTORY(7) - Miscellaneous Information Manual

NAME

history - irccd history plugin

DESCRIPTION

The history plugin is used to check when someone has been seen for the last time on a channel. For that purpose, irccd needs to be on that channel forever if possible.

INSTALLATION

The plugin history is distributed with irccd. To enable it add the following to your plugins section:

[plugins]
history = ""

USAGE

The plugin history only reacts to the special command. It understands seen and said sub commands.

Example

markand: !history seen jean
irccd: markand, the last time I've seen jean was on 18/01/1989 at 20:55
markand: !history said jean
irccd: markand, the last thing that jean said was: hello world

CONFIGURATION

The following options are available under the [plugin.history] section:

file (string)

path to the JSON file for saving information (Optional. default to cache directory).

TEMPLATES

The history plugin supports the following templates in [templates.history] section:

error

Template when an internal error occured. Keywords:

seen

Template for showing last seen. Keywords: target, (date).

said

Template for showing the last message. Keywords: message, target, (date).

unknown

Template when the user has never been seen. Keywords: target.

usage

Template to show the plugin usage.

All templates support the following standard keywords: channel, command, nickname, origin, plugin, server.

EXAMPLES

Example of configuration file:

[templates.history]
seen = "#{target} has been seen on #{channel} the last time on: %d/%m/%Y %H:%M"

SEE ALSO

irccd(1), irccd-templates(7)

macOS 11.2 - @IRCCD_MAN_DATE@