Retrieve Message by ID (Effect) — DiSky

Addon: DiSky · Category: Effect · Since: 4.12.0

Syntax

retrieve message (with|from) id %string% (from|with|of|in) %channel% [(with|using) [the] [bot] %-bot%] and store (it|the message) in %~objects%

Description

Retrieve a message from a message channel, with the specified ID. If the message does not exist, or the bot does not have access to it/the channel, nothing will be stored (and existing value will be cleared).

Examples

retrieve message with id "123456789012345678" from event-channel and store it in {_msg}
send "The content of the message is: %{_msg}%" to console

View source