commitbot/commitbot.tac.example
2008-12-04 13:55:20 -07:00

18 lines
436 B
Python

# -*- mode: python -*-
from twisted.application import service
from twisted.words.protocols.jabber import jid
from wokkel.client import XMPPClient
from commitbot import CommitBot
application = service.Application('commitbot')
client = XMPPClient(jid.internJID('user@host'), 'password')
client.logTraffic = False
bot = CommitBot('room@chat.example.com', 'commits')
bot.setHandlerParent(client)
client.setServiceParent(application)