Entities / Webhook Message Builder
Webhook Message Builder
type
A message a webhook has not sent yet: configure it, then send it with 'the build result of'. Nothing reaches Discord until then, and the result is the sent message itself, which can later be edited or deleted through the same webhook.
Properties11 Expressions3 Returned by2 Documentation2
On this page
Properties 11 Expressions 3 Returned by 2 Documentation 2
webhook username
propertyText write-only
since 5.0.0-a2
[the] webhook username of
%webhookmessageaction%
%webhookmessageaction% 's webhook username
The name the webhook displays for this message only, instead of its own.
Show example
webhook avatar url
propertyText write-only
since 5.0.0-a2
[the] webhook avatar url of
%webhookmessageaction%
%webhookmessageaction% 's webhook avatar url
The image URL the webhook displays as its avatar for this message only.
Show example
[the] webhook thread of
%webhookmessageaction%
%webhookmessageaction% 's webhook thread
The thread the message is posted in. The webhook must belong to the thread's parent channel.
Show example
webhook thread id
propertyText write-only
since 5.0.0-a2
[the] webhook thread id of
%webhookmessageaction%
%webhookmessageaction% 's webhook thread id
The id of the thread the message is posted in, for when only the id is known.
Show example
discord content
propertyText write-only
[the] discord content of
%webhookmessageaction%
%webhookmessageaction% 's discord content
[the] embed of
%webhookmessageaction%
%webhookmessageaction% 's embed
tts
propertyBoolean write-only
[the] tts of
%webhookmessageaction%
%webhookmessageaction% 's tts
suppressed embeds
propertyBoolean write-only
[the] suppressed embeds of
%webhookmessageaction%
%webhookmessageaction% 's suppressed embeds
suppressed notifications
propertyBoolean write-only
[the] suppressed notifications of
%webhookmessageaction%
%webhookmessageaction% 's suppressed notifications
attachments
propertylist of Text
[the] attachments of
%webhookmessageaction%
%webhookmessageaction% 's attachments
[the] components of
%webhookmessageaction%
%webhookmessageaction% 's components
[a] new webhook message with
[the] embed
%embedbuilder% (for|through|using)
[the] [webhook] [client] %webhookclient% Creates a webhook message builder from an embed. The message is only sent once you read 'the build result of' it, which requires 'await'.
Show examples
result
expressionMessage await
since 5.0.0-a2
[the] (build|built) result of
[the] %webhookmessageaction%
[the] built message
[from] [the] %webhookmessageaction% Sends the message through the webhook and returns it. Requires 'await'.
Sending the same builder twice sends two messages.
Show example
Syntaxes elsewhere in DiSky that return Webhook Message Builder.
Hand-written guides that cover Webhook Message Builder.