Skip to content

fix: Fixed Attachment Metadata Being Set Incorrectly In Interaction Responses#2679

Merged
Dorukyum merged 6 commits into
Pycord-Development:masterfrom
Icebluewolf:interaction_attachment_metadata
Dec 28, 2024
Merged

fix: Fixed Attachment Metadata Being Set Incorrectly In Interaction Responses#2679
Dorukyum merged 6 commits into
Pycord-Development:masterfrom
Icebluewolf:interaction_attachment_metadata

Conversation

@Icebluewolf

Copy link
Copy Markdown
Member

Summary

In interaction responses attachment metadata was being placed in the wrong spot in the request body causing discord to ignore it.

Information

  • 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, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@Icebluewolf
Icebluewolf requested a review from a team as a code owner December 27, 2024 00:42
@pullapprove4
pullapprove4 Bot requested a review from VincentRPS December 27, 2024 00:42
@plun1331 plun1331 added bug Something isn't working priority: high High Priority status: awaiting review Awaiting review from a maintainer labels Dec 27, 2024
plun1331
plun1331 previously approved these changes Dec 27, 2024
@plun1331
plun1331 enabled auto-merge (squash) December 27, 2024 08:29

@JustaSqu1d JustaSqu1d left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slightly ambiguous wording fix

Comment thread CHANGELOG.md Outdated
Dorukyum
Dorukyum previously approved these changes Dec 27, 2024

@Dorukyum Dorukyum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording is fine

@JustaSqu1d

Copy link
Copy Markdown
Member

The wording is fine

It could be interpreted as the "interaction responses" being ignored as opposed to the "attachment metadata"

@Dorukyum

Copy link
Copy Markdown
Member

The wording is fine

It could be interpreted as the "interaction responses" being ignored as opposed to the "attachment metadata"

I hadn't realised that but your suggestion wouldn't solve it

auto-merge was automatically disabled December 27, 2024 17:08

Head branch was pushed to by a user without write access

@Icebluewolf
Icebluewolf dismissed stale reviews from Dorukyum and plun1331 via 4fcb515 December 27, 2024 17:08
@Icebluewolf

Copy link
Copy Markdown
Member Author

Don't merge yet

Comment thread discord/webhook/async_.py Outdated
@Icebluewolf

Copy link
Copy Markdown
Member Author

Should Be Fixed
I tested

  • Defer + Message
  • Defer + Message With Attachment
  • Message
  • Message With Attachment

@Dorukyum
Dorukyum force-pushed the interaction_attachment_metadata branch from 2f3ab42 to 88503b7 Compare December 28, 2024 20:10
@Dorukyum
Dorukyum enabled auto-merge (squash) December 28, 2024 20:12
Signed-off-by: Dorukyum <[email protected]>

@Lulalaby Lulalaby left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks better lmao

@Lulalaby
Lulalaby requested a review from JustaSqu1d December 28, 2024 20:29
@Dorukyum
Dorukyum merged commit b4b2bdb into Pycord-Development:master Dec 28, 2024
@Icebluewolf
Icebluewolf deleted the interaction_attachment_metadata branch December 29, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: high High Priority status: awaiting review Awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants