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

history
irccd history plugin

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.

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

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

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).

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.

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

irccd(1), irccd-templates(7)
@IRCCD_MAN_DATE@ Linux 5.2.9-arch1-1-ARCH