开发者

twisted IRCClient with a listentcp

I'm trying to make a simple IRC bot that also listens to another port for incoming data and relays that to an IRC channel.. I'm using the following as sample code for my bot

http://www.eflorenzano.com/blog/post/writing-markov-chain-irc-bot-twisted-and-python/

I'm getting stuck how I also add a listenTCP to be able to talk to the bot with the reactor. I can make it listen but not sure how to send it to the bot so 开发者_如何转开发the bot can msg the channel


This is a variation of a popular FAQ, answered here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜