Skip to content
Moderation webhookEditMessage

$webhookEditMessage — Edits a webhook message, returns bool

Edits a webhook message, returns bool

Syntax

$webhookEditMessage[url;messageID;(content);(threadID)]

Parameters

  • url (text, required) — The webhook url
  • messageID (id, required) — The message to edit
  • content (text, optional) — The new content for the message
  • threadID (id, optional) — The thread this message belongs to

Return Value

  • Boolean.

Usage

$webhookEditMessage[url;messageID;(content);(threadID)] → result

Example

$sendMessage[$webhookEditMessage[https://discord.com/api/webhooks/700/abc;900;Edited]]

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.