# HG changeset patch # User Charly COSTE # Date 1250809127 -7200 # Node ID 6481b9bb95aa7af3fe0557c79fdeefc15a280db5 # Parent 9b7a628ca612cf446c3aa48578bd8c52b7e264df Added documentation for the "say_level" attribute. Signed-off-by: Charly COSTE diff --git a/README b/README --- a/README +++ b/README @@ -43,7 +43,7 @@ Copy "example_config.xml" and modify it > The different modes of the xib bots: -Mode is a per-bridge attribute, it can take three values: +"mode" is a per-bridge attribute, it can take three values: - 'normal': The bot connects on IRC on behalf of XMPP users and connects on XMPP on behalf of IRC users. In this mode the bot automatically switches from normal to limited mode and back again when the IRC server clones limit is crossed. @@ -53,6 +53,17 @@ The bot only connects on XMPP on behalf The bot does not connect on behalf of the participants. +> Configure what the bot says on rooms: + +"say_level" is a per-bridge attribute, it can take 6 values, each value contains the ones below itself: +- 'all', default value, say everything +- 'info', contains participants' joining and leaving events in limited and minimal modes +- 'notice' +- 'warning', contains nickname conflicts and everything that is not fatal to the bridge +- 'error' +- 'nothing', don't say a word + + > How to log xib bots output: xib does not directly handle logging for now so you have to do it the old school way, for example: diff --git a/example_config.xml b/example_config.xml --- a/example_config.xml +++ b/example_config.xml @@ -2,10 +2,14 @@ - + + + + +