Get the raw (non formatted) content of a sent message.
Message
typeA sent message: content, author, embeds, reactions and mentions.
Properties
17Get the user instance of the message's author. Can be null in case of the message was sent by a webhook.
Get the member instance of the message's author. Can be null if it's in PM or not in guild!
Get the message referenced (replied to) by a specific message, if any.
Get the poll attached to a specific message, if any.
Get every embed of a specific message, in display order (10 at most).
Get every attachment as custom object of a message.
Get every reaction of a message.
Because of Discord's limitation, we cannot get which user reacted with which reaction, you'll have to count them yourself.
Get every mentioned user in a message.
Get every mentioned member in a message. If the message doesn't come from a guild it will return an empty list!
Get every mentioned role in a message. If the message doesn't come from a guild it will return an empty list!
Get every mentioned text channel in a message.
Get every mentioned voice channel in a message.
Get every mentioned emote in a message.
This will only return custom emotes, and will therefore not include discord (unicode) emotes.
Every component of a sent message, rows and containers flattened: the buttons, dropdowns, text displays and so on it carries.
These are the sent components, not builders; use 'replace component' to change one.
The jump-to URL of a message or a guild channel. Clicking it in the Discord client jumps straight to the message/channel. Co-owned across both types, so "jump url of %message/channel%" works on either.
The guild a Discord entity belongs to: a member's, message's, role's, channel's, webhook's, sticker's, emoji's or scheduled event's guild. Co-owned across every such type, so "guild of %x%" works on any of them (null when the entity is not tied to a guild, e.g. a message from DMs).
Getters
1The message with the given id in a channel (requires await).
Effects
9Replaces a message's content or embeds. Only the bot's own messages can be edited.
A text replaces the content, an embed replaces the embeds.
Ends the poll attached to a message immediately, preventing any further vote.
Forwards a message to another channel, creating a copy carrying the 'forwarded' marker.
Pins a message in its channel. A channel holds up to 50 pinned messages.
Publishes (crossposts) a message to every guild following its channel.
Only works in a news/announcement channel.
Deletes several messages at once, using Discord's bulk-delete endpoint.
Messages are grouped per channel; a channel with a single message falls back to a plain delete.
To delete one message, use the destroy effect instead.
Adds one or more reactions to a message, as the bot.
An emoji or emote object reacts with that emoji; a text is either a unicode emoji or the formatted '<:name:id>' form of a custom one.
Hides the link embeds Discord generated for a message.
Removes a message from its channel's pins.
Conditions
10Whether the message is a components V2 message (containers, sections, text displays...).
Whether the message is pinned in its channel.
Whether the message is ephemeral (only visible to one user).
Whether the message was sent using text-to-speech.
Whether the message was sent in a guild channel (rather than a private/DM channel).
Whether the message was sent in a private (direct message) channel rather than in a guild.
Whether the message is a voice message. If it is, the 'attachment duration' expression can be used on its attachment.
Whether the message is a forwarded message, that is, a message originally sent in another channel and forwarded to this one.
Whether the message has a poll attached to it.
Returned by
8Syntaxes elsewhere in DiSky that return Message.
[the] last %number% [discord] messages (of|in|from) [the] [channel] %messagechannel%Core · Expressionsmessage with id %string% (in|from) [the] [text] [channel] %messagechannel%Message[the] referenced message of %message%Message[the] referenced message of %messageaction%Message Builder[the] (build|built) result of [the] %messageaction%Message Builder[the] pinned messages of %messagechannel%Message Channel[the] start message of %threadchannel%Thread Channel[the] (build|built) result of [the] %webhookmessageaction%Webhook Message BuilderDocumentation
7Hand-written guides that cover Message.