New Webhook Message Builder from an Embed (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a2

Syntax

[a] new webhook message with [the] embed %types.embedbuilder% (for|through|using) [the] [webhook] [client] %types.webhookclient%

Description

Creates a webhook message builder from an embed. The message is only sent once you read 'the build result of' it, which requires 'await'.

Examples

set {_m} to a new webhook message with embed {_embed} through {_hook}
await set {_sent} to the build result of {_m}

View source