public
anonymous / main.py
Created

  • Download Gist
main.py
Python
1 2 3 4 5 6 7 8 9
from twisted.words.protocols import irc
from twisted.internet import protocol, reactor
 
from ircbot import IRCBotFactory, EchoFactory
 
 
reactor.listenTCP(1234, EchoFactory())
reactor.connectTCP(server, port, IRCBotFactory(chan, nickname))
reactor.run()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.