Skip to content
Responses fetchComponents

$fetchComponents — Copies the buttons and string select menus of a message to the response.

Copies the buttons and string select menus of a message to the response.

Syntax

$fetchComponents[(channelID);messageID]

Parameters

  • channelID (String, optional) — Channel ID (empty: the current channel)
  • messageID (String, required) — Message ID

Return Value

  • None.

Usage

$fetchComponents[channelID;messageID] → result

Example

$sendMessage[$fetchComponents[channelID;messageID]]

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.