Skip to content
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

feat: message forwarding #2598

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented Oct 6, 2024

Summary

Implements message forwarding, alongside some small cleanups for other message features.

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.

@NeloBlivion
Copy link
Member Author

NeloBlivion commented Oct 6, 2024

more or less done, just need to add mention/role mention handling and partialmessage support... but still 403ing on my bot 😔

@Lulalaby
Copy link
Member

Lulalaby commented Oct 6, 2024

unlucky bcs its 95% out. you're in th holdout group. try making a new bot

@JustaSqu1d JustaSqu1d added priority: medium Medium Priority feature Implements a feature API Reflection Discords API wasn't correctly reflected in the lib python Pull requests that update Python code labels Oct 21, 2024
Signed-off-by: UK <41271523+NeloBlivion@users.noreply.github.com>
@JustaSqu1d JustaSqu1d added this to the v2.7 milestone Nov 18, 2024
discord/message.py Outdated Show resolved Hide resolved
@Dorukyum
Copy link
Member

Dorukyum commented Jan 5, 2025

@NeloBlivion status?

@NeloBlivion NeloBlivion marked this pull request as ready for review February 5, 2025 17:54
@NeloBlivion NeloBlivion requested a review from a team as a code owner February 5, 2025 17:54
@pullapprove4 pullapprove4 bot requested a review from Lulalaby February 5, 2025 17:54
@Lulalaby Lulalaby enabled auto-merge (squash) February 5, 2025 21:43
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.

one changelog please

auto-merge was automatically disabled February 6, 2025 03:15

Head branch was pushed to by a user without write access

@Lulalaby Lulalaby requested a review from plun1331 February 6, 2025 05:33
Copy link
Member

@Dorukyum Dorukyum left a comment

Choose a reason for hiding this comment

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

Testing required

@NeloBlivion
Copy link
Member Author

ah yeah, forgot to tick that box; as far as i've tested there haven't been any issues.

from .message import MessageReference

if not isinstance(reference, MessageReference):
utils.warn_deprecated(
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't match the InvalidArgument error message below, also why?

Copy link
Member Author

@NeloBlivion NeloBlivion Feb 10, 2025

Choose a reason for hiding this comment

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

we discussed this when forwarding came out; before you could pass any Message into reference to automatically reply to it, but since forwarding was added this behaviour is too vague and should be removed after deprecation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Reflection Discords API wasn't correctly reflected in the lib feature Implements a feature priority: medium Medium Priority python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants