X-Git-Url: https://git.kaliko.me/?p=sid.git;a=blobdiff_plain;f=README.rst;h=a64e4b7513aad559b429c4186cb397e3f52e0d9d;hp=1d724e19729a9b63bcc4922bbb0675cc7aff58da;hb=f348b768ac5294a10e1bf03a18628c31a0a9efb5;hpb=83da43276d76a6525e116ddbd2d8ac249d6ece79 diff --git a/README.rst b/README.rst index 1d724e1..a64e4b7 100644 --- a/README.rst +++ b/README.rst @@ -31,9 +31,13 @@ Here is a plain example:: # -*- coding: utf-8 -*- import getpass + import logging from sid.sid import MUCBot from sid.ping import Ping + logging.basicConfig(level=args.loglevel, + format='%(levelname)-8s %(message)s') + JID = 'bot@example.org' ROOM = 'room@conf.example.org' # Pay attention: if you join the room with the same account/nick,