view MoinMoin/jabber/ @ 2067:3ca2b7065a05

Jabber bot - the beginning. Ommited the necessary config file, because it currently holds private information about jabber account used for testing. Will be added later.
author Karol 'grzywacz' Nowak <>
date Thu, 31 May 2007 01:05:09 +0200
children 7e2a9b7d2bc6
line wrap: on
line source

# -*- coding: iso-8859-1 -*-
    MoinMoin - jabber bot main file

    This is a bot for notification and simple editing
    operations. Developed as a Google Summer of Code 

@copyright: 2007 by Karol Nowak <>
@license: GNU GPL, see COPYING for details.

import sys
from config import JabberConfig
from xmppbot import XMPPBot
from Queue import Queue

def main():
    commands = Queue()
    results = Queue()
        bot = XMPPBot(JabberConfig, commands, results)
    except KeyboardInterrupt, i:
        print i

if __name__ == "__main__": main()