Skip to content

feat: message structures #10982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

Qjuh
Copy link
Member

@Qjuh Qjuh commented Jul 12, 2025

Please describe the changes this PR makes and why it should be merged:

Status and versioning classification:

Copy link

vercel bot commented Jul 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Jul 15, 2025 3:00pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Jul 15, 2025 3:00pm

Copy link

codecov bot commented Jul 12, 2025

Codecov Report

Attention: Patch coverage is 50.93867% with 392 lines in your changes missing coverage. Please review.

Project coverage is 45.49%. Comparing base (3cff4d7) to head (818d975).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
packages/structures/src/messages/Attachment.ts 39.21% 31 Missing ⚠️
packages/structures/src/messages/embeds/Embed.ts 3.84% 25 Missing ⚠️
...ges/structures/src/messages/InteractionMetadata.ts 4.34% 22 Missing ⚠️
...tures/src/messages/components/UnfurledMediaItem.ts 42.10% 22 Missing ⚠️
...s/structures/src/messages/embeds/EmbedThumbnail.ts 4.76% 20 Missing ⚠️
...ages/structures/src/messages/embeds/EmbedAuthor.ts 5.00% 19 Missing ⚠️
...kages/structures/src/messages/embeds/EmbedImage.ts 5.00% 19 Missing ⚠️
...kages/structures/src/messages/embeds/EmbedVideo.ts 5.00% 19 Missing ⚠️
...res/src/messages/components/TextInputCompoinent.ts 43.75% 18 Missing ⚠️
...kages/structures/src/messages/embeds/EmbedField.ts 5.88% 16 Missing ⚠️
... and 32 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10982      +/-   ##
==========================================
+ Coverage   45.23%   45.49%   +0.25%     
==========================================
  Files         307      352      +45     
  Lines       17189    17988     +799     
  Branches     1747     1752       +5     
==========================================
+ Hits         7776     8183     +407     
- Misses       9400     9792     +392     
  Partials       13       13              
Flag Coverage Δ
structures 70.84% <50.93%> (-14.36%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant