dc_set_channel_topic

dc_set_channel_topic(channel, text)#

Sets the description of a channel to the specified text.

Blocking function

Invoking this function can freeze the game. Use it in a task to avoid freezing your game.

Input parameters#

Parameter Type Description
channel Channel The channel to set the topic.
text String The text to set the channel to.

Output values#

Return values#

  • Null, if successful.

Uncaught exceptions #

  • Throws an exception on failure.