I would like to list the server's channels when I log into an IRC sevrer. How can I do that?
I tried to override the signedOn method:
def signedOn(self):
print "connected to the server..."
self.sendLine("/LIST")
but then I don't know if I get something back from this request and how to get the response.
Good point lets submit a patch on a ticket I just created to have this feature added. http://twistedmatrix.com/trac/ticket/4929
Till then just sendLine('LIST')
should work
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.