package calculon

  1. Overview
  2. Docs
Library for writing IRC bots in OCaml and a collection of plugins

Install

Dune Dependency

Authors

Maintainers

Sources

v0.7.tar.gz
md5=6bb91cdc5cd1b5958144faf9b4ae27c3
sha512=40fe8bdf5389fdb85869e41c24dbbbaafb8f07d026fcb7db2c2a94c1072a6d47a00708b0b0909e509b40325481198e6e45a4a205c92e090bf47eeccd4fbf99ab

doc/calculon/Calculon/Plugin_history/index.html

Module Calculon.Plugin_historySource

History plugin

Keep the last n lines of history on a chan, and give them to newcomers that ask for them

Sourceval plugin : ?default_len:int -> ?n:int -> unit -> Plugin.t

plugin for storing n lines of history and giving them back in query to people who ask.

  • parameter n

    the number of lines to retain internally

  • parameter default_len

    the number of lines to display by default, when replying to message "!history"

OCaml

Innovation. Community. Security.