Mercurial > xib
diff README @ 28:6481b9bb95aa
Added documentation for the "say_level" attribute.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Fri, 21 Aug 2009 00:58:47 +0200 |
parents | 32a35f7eff70 |
children | e7766a49b199 |
line wrap: on
line diff
--- 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: