-
-
Notifications
You must be signed in to change notification settings - Fork 4k
fix: message builders #10802
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
fix: message builders #10802
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
1cdd834
to
ec66fee
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10802 +/- ##
==========================================
+ Coverage 44.43% 44.60% +0.16%
==========================================
Files 260 260
Lines 15329 15363 +34
Branches 1544 1549 +5
==========================================
+ Hits 6812 6852 +40
+ Misses 8505 8499 -6
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
ec66fee
to
6eca42c
Compare
Please resolve conflicts! |
- Added `clearParse`, `clearRoles`, and `clearUsers` methods to the `AllowedMentionsBuilder`, since passing an empty array and omitting the these fields behave differently - Strictened assertions - Removed `AttachmentBuilder#clearId`, as it is a required field - Added missing `MessageBuilder#setEmbeds` - Added missing `MessageReferenceBuilder#setFailIfNotExists` - Improve/fix documentation - Consistency:tm:
6eca42c
to
6aae36c
Compare
clearParse
,clearRoles
, andclearUsers
methods to theAllowedMentionsBuilder
, since passing an empty array and omitting the these fields behave differentlyAttachmentBuilder#clearId
, as it is a required fieldvoid
MessageBuilder#setEmbeds
MessageReferenceBuilder#setFailIfNotExists