irc
irc copied to clipboard
How to list channels
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 ?
` 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 ?
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.