 { $subsection terminate-irc }
 { $subsection add-listener }
 { $subsection remove-listener }
+{ $subsection join-irc-channel }
 { $subsection read-message }
 { $subsection write-message }
 { $heading "IRC messages" }

HELP: add-listener "Listening to irc channels/users/etc"
{ $values { "irc-listener" "an irc listener object" } { "irc-client" "an irc client object" } }
{ $description "Registers " { $snippet "irc-listener" } " with " { $snippet "irc-client" } " and starts listening." } ;

HELP: remove-listener "Stop an unregister listener"
{ $values { "irc-listener" "an irc listener object" } { "irc-client" "an irc client object" } }

USING: help.markup help.syntax quotations kernel irc.messages ;
IN: irc.client

HELP: irc-client "IRC Client object" ;

HELP: irc-server-listener "Listener for server messages unmanaged by other listeners" ;

HELP: irc-channel-listener "Listener for irc channels" ;

HELP: irc-nick-listener "Listener for irc users" ;

HELP: irc-profile "IRC Client profile object" ;

HELP: connect-irc "Connecting to an irc server"
{ $values { "irc-client" "an irc client object" } }
