$channelTopic

Retrieves the topic (or description) of a channel.

Syntax

$channelTopic
$channelTopic[channelID]

Arguments

  • channelID (Optional): The ID of the channel you want to retrieve the topic from. If omitted, it defaults to the channel where the command is executed.

Example Usage

1. Get the topic of the current channel:

$channelTopic

2. Get the topic of a specific channel:

$channelTopic[123456789012345678]