Adds the new ephemeral field on discord.Attachment #63

Merged
Gnome-py merged 2 commits from ephemeral-attachments into 2.0 2021-09-21 18:51:23 +00:00
Gnome-py commented 2021-09-18 14:21:11 +00:00 (Migrated from github.com)

Summary

Implements the ephemeral field on attachment objects, see https://github.com/discord/discord-api-docs/commit/d61166446ec954d2b8f561db0d87701df5de69d9 for more info. It seems like these can currently only be sent via the followup webhook of an interaction.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
<!-- Pull requests that do not fill this information in will likely be closed --> ## Summary Implements the `ephemeral` field on attachment objects, see https://github.com/discord/discord-api-docs/commit/d61166446ec954d2b8f561db0d87701df5de69d9 for more info. It seems like these can currently only be sent via the followup webhook of an interaction. <!-- What is this pull request for? Does it fix any issues? --> ## Checklist <!-- Put an x inside [ ] to check it, like so: [x] --> - [x] If code changes were made then they have been tested. - [x] I have updated the documentation to reflect the changes. - [ ] This PR fixes an issue. - [x] This PR adds something new (e.g. new method or parameters). - [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed) - [ ] This PR is **not** a code change (e.g. documentation, README, ...)
IAmTomahawkx (Migrated from github.com) approved these changes 2021-09-21 18:51:09 +00:00
IAmTomahawkx (Migrated from github.com) left a comment

LGTM

LGTM
Sign in to join this conversation.