erc-cmd-JOIN

erc-cmd-JOIN is a compiled Lisp function in `erc.el'.

(erc-cmd-JOIN 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'.