New Message Builder (Expression) — DiSky

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

Syntax

[a] new message with [the] content %text% in [the] [channel] %types.messagechannel%

Description

Creates a 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 message with content "hello" in event-channel
set tts of {_m} to true
await set {_sent} to the build result of {_m}

View source