All pastes #399216 Raw Edit

Something

public text v1 · immutable
·published 2007-03-17 20:56 UTC
rendered paste body
from twisted.internet import reactor, protocol
from twisted.protocols import irc

class IRC(irc.IRCClient):
    nickname = "testobot" 
    def signedOn(self):
        self.join('#exolandia')

def main():
    f = protocol.ReconnectingClientFactory()
    f.protocol = IRC
    reactor.connectTCP('irc.exolandia.com', 6667,f)
    reactor.run()
    
main()