Skip to content

v4.0.0 - Near-full API support and single embed

Compare
Choose a tag to compare
@tsickert tsickert released this 14 Oct 00:46
· 112 commits to master since this release
c2acca6

This 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.