Skip to content

[Preview] v4.0.0 - Near-full API support and single embed

Pre-release
Pre-release
Compare
Choose a tag to compare
@tsickert tsickert released this 24 Sep 06:25

This preview adds support for the discord webhook execute endpoint. Some fields are left off as described by the API, so the structures don't match, but the available behaviors should be there.

Key differences

  • Added the ability to include embeds with file uploads. The embeds are sent in a second message, but it allows users to add embeds to webhooks that write files, which is not supported by the discord API.
  • The discord API allows for up to 10 embeds. Currently, this action restricts to one. The full 10 may be supported before v4 is released.
  • Embeds do not have fields. Implementing them seemed tedious and they seem to be a bold heading above an unbolded message, so are still reproducable by users. If requested, I can look into adding them.