Skip to content

feat(messages): Get one message by id, and surface embeds - #18

Merged
Akayashuu merged 1 commit into
masterfrom
feat/message-get-embeds
Aug 4, 2026
Merged

feat(messages): Get one message by id, and surface embeds#18
Akayashuu merged 1 commit into
masterfrom
feat/message-get-embeds

Conversation

@Akayashuu

Copy link
Copy Markdown
Collaborator

Two gaps that show up together when reading a message someone replied to.

  • Messages().Get(ctx, channelID, messageID)GET /channels/{ch}/messages/{id}. Read only walks back from the channel's tail, so a message named by id (a reply's target, hours old) had no path.
  • Message.Embeds []Embed (Title, Description, URL, Image, Thumbnail, Fields). A bot or webhook posts with an empty content and everything in an embed; decoding without them made those messages read as blank.

Image/Thumbnail are pointers so "no picture" is distinguishable from "a picture at the empty URL". Additive only — no existing field or signature changed.

Read only reaches the tail of a channel, so a message named by anything other
than recency — the one a reply points at — was unreachable. And Message dropped
embeds entirely: a webhook or a bot puts its whole report in an embed, so a
reader that only sees Content sees an empty message.
@Akayashuu
Akayashuu merged commit 0d57dcd into master Aug 4, 2026
1 check passed
@Akayashuu
Akayashuu deleted the feat/message-get-embeds branch August 4, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant