import getpass from sid.sid import MUCBot from sid.ping import Ping import Feeds_kaleid JID = 'KBot@os-k.eu' ROOM = 'os-k-team@conference.os-k.eu' NICK = 'kaleid-bot' PASS = 'botbotbot' # Instanciate the bot xmpp = MUCBot(JID, PASS, ROOM, NICK) # Register a plugin xmpp.register_bot_plugin(Ping) xmpp.register_bot_plugin(Feeds_kaleid.Feeds) # Connect to the XMPP server and start processing XMPP stanzas. try: xmpp.connect() xmpp.process() except KeyboardInterrupt: xmpp.shutdown_plugins()