Skip to content

Proposal: Message Builder #2234

Open
Open
@quinchs

Description

@quinchs

Proposal

Currently, Discord.Net uses 3 different aliases and a total of 6 functions to send a message. Each one of these functions has around 10 parameters each. It would make the end-users life and us as developers of the libraries life simpler.

The proposal is a MessageBuilder class thats similar to the ComponentBuilder and EmbedBuilder class. This system is currently in preview with the ForumChannel branch and is only used for creating new posts within forum channels.

We should adopt the message builder to all functions that deal with sending messages. The message builder also alleviates the different functions for sending messages compared to sending files as the builder can store FileAttachments that can be used to resolve whether or not to send as multipart or as json.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions