Skip to content

feat: ✨ silent and supress_embeds parameters for all applicable methods#3062

Open
ToothyDev wants to merge 40 commits intoPycord-Development:masterfrom
ToothyDev:feat/suppress_flags_for_responses
Open

feat: ✨ silent and supress_embeds parameters for all applicable methods#3062
ToothyDev wants to merge 40 commits intoPycord-Development:masterfrom
ToothyDev:feat/suppress_flags_for_responses

Conversation

@ToothyDev
Copy link
Contributor

@ToothyDev ToothyDev commented Jan 13, 2026

Summary

This PR adds both the silent and suppress_embeds parameters to InteractionResponse.send_message, ApplicationContext.respond and Interaction.respond. These are supported by Discord for interaction responses but are currently ignored / not supported by pycord
Update: This PR has since expanded to deprecate suppress for message-based functions everywhere in favor of suppress_embeds, and both parameters have been added wherever they apply but were missing until now.

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.

Depends on #3061 for docstrings

@pycord-app
Copy link

pycord-app bot commented Jan 13, 2026

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3062/head:pr-3062
git checkout pr-3062

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3062/head

@Paillat-dev Paillat-dev added this to the v2.8 milestone Jan 13, 2026
@Paillat-dev Paillat-dev added priority: low Low Priority feature Implements a feature API reflection Discord API isn't correctly reflected hold: testing This pull request requires further testing labels Jan 13, 2026
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.

Also maybe renbame suppress to suppress_embeds where it's still the old form for consistency and add suppress as a fallbvack with a deprcation warning

@ToothyDev ToothyDev changed the title feat: ✨ silent and supress_embeds flags for responses feat: ✨ silent and supress_embeds parameters for all applicable methods Jan 25, 2026
ToothyDev and others added 2 commits January 25, 2026 22:45
Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
@Paillat-dev
Copy link
Member

Ops seems like i fucked up somewhere lol

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.

code lgtm; needs testing when I or someone has got a sec

Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
@ToothyDev ToothyDev requested a review from Paillat-dev January 26, 2026 21:05
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 feature Implements a feature hold: testing This pull request requires further testing on hold PA: All Contributors pending PA: Maintainers pending priority: low Low Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants