erc-cmd-TOPIC

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

(erc-cmd-TOPIC TOPIC)

Set or request the topic for a channel.
LINE has the format: "#CHANNEL TOPIC", "#CHANNEL", "TOPIC"
or the empty string.

If no #CHANNEL is given, the default channel is used. If TOPIC is
given, the channel topic is modified, otherwise the current topic will
be displayed.