irc icon indicating copy to clipboard operation
irc copied to clipboard

How to list channels

Open onerkcll opened this issue 1 year ago • 2 comments

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 avatar Oct 09 '23 10:10 onerkcll

` 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 ?

onerkcll avatar Oct 09 '23 11:10 onerkcll

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.

jaraco avatar Dec 25 '23 03:12 jaraco