Skip to content
Components & Interactions setChannelType

$setChannelType — Sets channel types for the last select menu

Sets channel types for the last select menu

Syntax

$setChannelType[types...]

Parameters

  • types… (text, required) — The channel types to set

Return Value

  • String.

Usage

$setChannelType[types...] → result

Example

$addChannelSelectMenu[c]$addChannelType[GuildText]$setChannelType[GuildForum]

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.