feat: ✨ silent and supress_embeds parameters for all applicable methods#3062
Open
ToothyDev wants to merge 40 commits intoPycord-Development:masterfrom
Open
feat: ✨ silent and supress_embeds parameters for all applicable methods#3062ToothyDev wants to merge 40 commits intoPycord-Development:masterfrom
silent and supress_embeds parameters for all applicable methods#3062ToothyDev wants to merge 40 commits intoPycord-Development:masterfrom
Conversation
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3062/head:pr-3062
git checkout pr-3062This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3062/head |
…gs_for_responses # Conflicts: # discord/interactions.py
# Conflicts: # CHANGELOG.md
Paillat-dev
reviewed
Jan 25, 2026
Paillat-dev
requested changes
Jan 25, 2026
Member
Paillat-dev
left a comment
There was a problem hiding this comment.
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
Paillat-dev
requested changes
Jan 25, 2026
silent and supress_embeds flags for responsessilent and supress_embeds parameters for all applicable methods
Paillat-dev
requested changes
Jan 25, 2026
Co-authored-by: Paillat <jeremiecotti@ik.me> Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
Member
|
Ops seems like i fucked up somewhere lol |
Paillat-dev
reviewed
Jan 25, 2026
Member
Paillat-dev
left a comment
There was a problem hiding this comment.
code lgtm; needs testing when I or someone has got a sec
…gs_for_responses # Conflicts: # CHANGELOG.md
Paillat-dev
reviewed
Jan 26, 2026
Paillat-dev
requested changes
Jan 26, 2026
Co-authored-by: Paillat <jeremiecotti@ik.me> Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds both the
silentandsuppress_embedsparameters toInteractionResponse.send_message,ApplicationContext.respondandInteraction.respond. These are supported by Discord for interaction responses but are currently ignored / not supported by pycordUpdate: This PR has since expanded to deprecate
suppressfor message-based functions everywhere in favor ofsuppress_embeds, and both parameters have been added wherever they apply but were missing until now.Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.Depends on #3061 for docstrings