erc-cmd-CHANNEL

erc-cmd-CHANNEL is an alias for `erc-cmd-JOIN' in `erc.el'.

(erc-cmd-CHANNEL CHANNEL &optional KEY)

Join the channel given in CHANNEL, optionally with KEY.
If CHANNEL is specified as "-invite", join the channel to which you
were most recently invited. See also `invitation'.