$getMessage
Gets data from the provided message.
Syntax
$getMessage[Channel ID;Message ID;(Property)]
Parameters
Channel ID
(Type: Snowflake || Flag: Required)
: The channel that this message belongs to.Message ID
(Type: Snowflake || Flag: Required)
: The message to get the data from.Property
(Type: Enum || Flag: Optional)
: The message data to get. The default iscontent
. Message properties:content
- The content of this message.authorID
- The ID of the message author.username
- The username of the message author.avatar
- The avatar of the message author.
Example
$nomention
$argsCheck[>2;Please provide a channel and message ID! Usage: `!quote (channel) (messageID)`]
$description[$getMessage[$findChannel[$message[1]];$message[2]]]
$color[#673ab7]
$authorIcon[$getMessage[$findChannel[$message[1]];$message[2];avatar]]
$author[$getMessage[$findChannel[$message[1]];$message[2];username]#$discriminator[$getMessage[$findChannel[$message[1]];$message[2];authorID]]]