New Webhook Message Builder (Expression) — DiSky

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

Syntax

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

Description

Creates a webhook message builder from a piece of text. 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 content "hello" through {_hook}
set webhook username of {_m} to "Announcer"
await set {_sent} to the build result of {_m}

View source