Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

akaJuliaan
Copy link
Contributor

Description

This PR adds a embed parameter to the SendMessageAsync method for Webhooks, like it is already in the SendMessageAsync method for Channels.

Changes

  • Add embed parameter
  • Update Webhook sample

@akaJuliaan
Copy link
Contributor Author

The build for the samples logically fails because the new parameter does not yet exist in version 3.13.1 which they are referring to.

@SylveonDeko
Copy link
Contributor

Embed parameter is not needed as you can pass a single embed in an embed array into the embeds parameter. Yes it's inconvenient but redundant parameters aren't useful

@akaJuliaan
Copy link
Contributor Author

If redundant parameters are unwanted, why is there the exactly same embed parameter for the channels?

@SylveonDeko
Copy link
Contributor

SylveonDeko commented Mar 28, 2024 via email

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.