[Twisted-Python] /CTCP user VERSION with twisted ?

Rémi Boulle rboulle at free.fr
Mon Dec 1 15:10:05 MST 2008


Hi,

I am starting using twisted with an IRC LogBot based on this ones :
http://twistedmatrix.com/projects/words/documentation/examples/ircLogBot.py
I customized it a little bit...

When a user logs in (on the chan), I would like to send him a /CTCP user 
VERSION, read the reply and send onto the chan the VERSION name of this 
user.

In the API, I found this :
http://python.net/crew/mwh/apidocs/twisted.words.protocols.irc.IRCClient.html#ctcpQuery_VERSION
But it seems to be for the bot itself...

How could I do that and let everbody knows on the chan if user is using 
Xchat, irssi, mirc... ;) ?

Thanks.
Rémi.




More information about the Twisted-Python mailing list