You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for the LIST function (RPL_LISTSTART, RPL_LIST, RPL_LISTEND) (RFC 1459 Section 4.2.6) would be a welcome addition to Pydle. This function would allow Pydle to be aware of all of the channels that exist in a given server or validate that a channel exists before taking an action.
Context
In our bot and use case, this allows the bot to be aware of channels that exist before taking an action, allowing us to filter actions that would reflect against a channel that does not exist (like forcing a user to join a channel or the bot attempting to join a channel that does not exist).
This would also add the ability to create checks on specific channels and get topics of a channel that exist, even if we are not in the channel already.
Possible Implementation
A partial implementation of this function has been done in our bot (HalpyBOT) here:
Allows users to call channel_list from the BasicClient, which returns a list containing the total LIST response from the server according to the IRC specification
Detailed Description
Support for the LIST function (RPL_LISTSTART, RPL_LIST, RPL_LISTEND) (RFC 1459 Section 4.2.6) would be a welcome addition to Pydle. This function would allow Pydle to be aware of all of the channels that exist in a given server or validate that a channel exists before taking an action.
Context
In our bot and use case, this allows the bot to be aware of channels that exist before taking an action, allowing us to filter actions that would reflect against a channel that does not exist (like forcing a user to join a channel or the bot attempting to join a channel that does not exist).
This would also add the ability to create checks on specific channels and get topics of a channel that exist, even if we are not in the channel already.
Possible Implementation
A partial implementation of this function has been done in our bot (HalpyBOT) here:
https://github.com/HullSeals/HalpyBOT/blob/58d68b8c55651ac4577af2749b86163b444c4f3e/halpybot/packages/ircclient/_listsupport.py
Your Environment
The text was updated successfully, but these errors were encountered: