Skip to content
Entity Info fetchChannels

$fetchChannels — Caches all channels of a guild.

Caches all channels of a guild.

Syntax

$fetchChannels[guildID;(channelID)]

Parameters

  • guildID (id, required) — The guild to cache channels of
  • channelID (id, optional) — The channel to fetch

Return Value

  • string.

Usage

$fetchChannels[guildID;(channelID)] → result

Example

$fetchChannels[10]
$sendMessage[Done]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.