anonymous / main.py
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View main.py
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.