Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Core.SSourceval connection : connectionCurrent connection.
Log a message (see field irc_log of Config.config), typically for debugging purpose.
val logf : ('a, Format.formatter, unit, unit Lwt.t) format4 -> 'aPretty logger (calling log to print the formatted message). Example: logf "answer to %s is %d" "life" 42
Set logger (default is the empty logger) that will be used by log
trigger the exit signal (only at the end!)
val line_cut_threshold : int refAbove !line_cut_threshold, multi-line messages are cut with "..."
Send a list of messages to the target. If the list is too long (see line_cut_threshold) only a prefix of the list will be sent
val send_privmsg_l_nolimit :
?delay:float ->
target:string ->
messages:string list ->
unit ->
unit Lwt.tVersion of send_privmsg_l that does not enforce cut threshold. Be careful of the flood this might cause.
Helper for sending messages, splitting lines, etc.
Send a list of notices. Notices are not supposed to be parsed by other bots, so as to avoid reply loops
Helper for sending notices, splitting lines, etc.
val talk : target:string -> Talk.t -> unit Lwt.tSend a pre-formatted answer to the channel.