jaraco / irc

Full-featured Python IRC library for Python.
MIT License
390 stars 84 forks source link

List channels #217

Open onerkcll opened 8 months ago

onerkcll commented 8 months ago

after joining a server and chanel with Ircbot im calling list function over connection but it does not returns anny thing how can ı capture it ?

onerkcll commented 8 months ago

` def on_listreply(self, connection, event): pass

def on_list_reply(self, connection, event):
    pass

def on_listend(self, connection, event):
    pass

def on_list(self, connection, event):
    pass

def on_liststart(self, connection, event):
    pass

def on_list_start(self, connection, event):
    pass

def on_list_end(self, connection, event):
    pass

` I'm implementing these methods but just start and end works and they does not have the channel list information. how to implement on_list ?

jaraco commented 6 months ago

Off the top of my head, I don't know the answer to your question. I do see that the tests don't exercise anything for "list", so it may be an under-tested feature. I recommend to run the client with logging set to debug and then trace the incoming "list" events into the client to determine where they might be dispatched. I wish I had a better answer for you. Maybe someone else can chime in.