irc-connected sent to notify chats that a connection with the irc server was established.
Example:
USING: irc.client irc.client.chats ;
SYMBOL: bot
SYMBOL: mychannel
! Create the profile and client objects
"irc.libera.chat" irc-port "mybot123" f <irc-profile> <irc-client> bot set
! Connect to the server
bot get connect-irc
! Create a channel chat
"#mychannel123" <irc-channel-chat> mychannel set
! Register and start chat (this joins the channel)
mychannel get bot get attach-chat
! Send a message to the channel
"Hello World!" mychannel get speak
! Read a message from the channel
mychannel get hear