instance method IRC#list
IRC#list(channel, hollaback) → self
IRC#list(hollaback) → self
-
channel
(String
) – Channel to list information for. -
hollaback
(Function
) – Callback to receive the channel list. As it’s single parameter it receives one or many arrays with three elements. The first element is the channel name, the second is the user count, the third is the topic.
List the information about a given channel, or all channels. Optional first parameter is the channel.
Examples
irc_instance.list('#asl', showList); // `showList` would receive something like the following as it's only parameter: `['#asl', 57, 'Find hookups in here!']`
irc_instance.list(listAll);