Skip to content
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

Add common MessageBuilder supertype #891

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Add common MessageBuilder supertype #891

merged 1 commit into from
Nov 20, 2023

Conversation

lukellmann
Copy link
Member

MessageBuilder is the new common supertype of MessageCreateBuilder and MessageModifyBuilder.

The support for attachments was improved by adding AttachmentBuilder, which can be configured when adding files to messages.

The way multipart requests are sent is now also more closely aligned with the documentation.

Closes #880

MessageBuilder is the new common supertype of MessageCreateBuilder and
MessageModifyBuilder.

The support for attachments was improved by adding AttachmentBuilder,
which can be configured when adding files to messages.

The way multipart requests are sent is now also more closely aligned
with the documentation [1].

Closes #880

[1] https://discord.com/developers/docs/reference#uploading-files
@lukellmann lukellmann merged commit b6e878a into main Nov 20, 2023
8 checks passed
@lukellmann lukellmann deleted the message-builder branch November 20, 2023 22:45
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.

MessageModifyBuilder and MessageCreateBuilder should share a common interface
1 participant