hi,

found this code online:
http://paste.pound-python.org/show/zeavfM7XjrXL2psPWxlv/

added some print statements and changed the logging to private/channel.


if i send the xdccbot a file from a second irc connection (x-chat) i get this error:
2015-05-23 22:30:01,384 : Bot connection made
2015-05-23 22:30:02,448 : Bot has signed on
2015-05-23 22:30:08,760 : Bot has joined channel #lala
2015-05-23 22:30:17,750 : connection failed during DCC download. reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectError'>: An error occurred while connecting: 22: Invalid argument.

any ideas?




bot connect command:
python xdccbot.py irc.freenode.net lala lalala 123 90


the bot was designed to automatically message another irc user to send some file.
thats why the extra arguments.

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to