Skip to content

feat: added Interaction.attachment_size_limit #2854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 5, 2025

Conversation

hich4t
Copy link
Contributor

@hich4t hich4t commented Aug 4, 2025

Summary

added Interaction.attachment_size_limit

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.

@pullapprove4 pullapprove4 bot requested a review from plun1331 August 4, 2025 01:45
@hich4t hich4t changed the title added Interaction.attachment_size_limit feat: added Interaction.attachment_size_limit Aug 4, 2025
Copy link
Member

@Paillat-dev Paillat-dev left a comment

Choose a reason for hiding this comment

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

Hi, thanks for the pr ! Could you please do the following to make sure the pr is merged:

  1. Edit the CHANGELOG.md file at the root of the repository to add under the ## Added section your addition, making sure to keep the same format as the other entries.
  2. Add a shortcut as a property to ApplicationContext named attachment_size_limit that returns the related interaction's attachment_size_limit.
  3. Add attachment_size_limit to the Interaction's type class.

@Paillat-dev Paillat-dev added the API reflection Discord API isn't correctly reflected label Aug 4, 2025
@Paillat-dev Paillat-dev requested a review from Lulalaby August 4, 2025 21:24
@Paillat-dev Paillat-dev added the hold: changelog This pull request is missing a changelog entry label Aug 4, 2025
@hich4t hich4t requested a review from Paillat-dev August 4, 2025 23:22
Copy link
Member

@Paillat-dev Paillat-dev left a comment

Choose a reason for hiding this comment

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

I think you missed the third one

Add attachment_size_limit to the Interaction's type class.

@hich4t
Copy link
Contributor Author

hich4t commented Aug 5, 2025

I think you missed the third one

Add attachment_size_limit to the Interaction's type class.

ec81001

@hich4t hich4t requested a review from Paillat-dev August 5, 2025 12:21
Lulalaby
Lulalaby previously approved these changes Aug 5, 2025
Copy link
Member

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

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

Lgtm

@Paillat-dev
Copy link
Member

I think you missed the third one

Add attachment_size_limit to the Interaction's type class.

ec81001

Oops I missed it bc the two commits were named the same

Co-authored-by: Paillat <[email protected]>
Signed-off-by: hich4t <[email protected]>
Co-authored-by: Paillat <[email protected]>
Signed-off-by: hich4t <[email protected]>
@hich4t hich4t requested a review from Paillat-dev August 5, 2025 16:07
@hich4t hich4t requested a review from Paillat-dev August 5, 2025 16:46
Copy link
Member

@Paillat-dev Paillat-dev left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

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

lgtm

@Lulalaby Lulalaby merged commit b43969a into Pycord-Development:master Aug 5, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API reflection Discord API isn't correctly reflected hold: changelog This pull request is missing a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants