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

Add message property to views #1446

Merged
merged 6 commits into from
Jun 28, 2022
Merged

Conversation

WhoIsConch
Copy link
Contributor

@WhoIsConch WhoIsConch commented Jun 27, 2022

Summary

This pull request is to give views a new message property for after a message is sent with the view attached. This makes it easier for users to manipulate the view with no interaction, such as in the on_timeout function.

Checklist

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

baronkobama
baronkobama previously approved these changes Jun 27, 2022
Copy link
Contributor

@baronkobama baronkobama left a comment

Choose a reason for hiding this comment

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

LGTM besides the comment

discord/ui/view.py Outdated Show resolved Hide resolved
@WhoIsConch
Copy link
Contributor Author

Woops. Had that there from debugging. Thanks!

@Lulalaby Lulalaby enabled auto-merge (squash) June 27, 2022 07:24
@Lulalaby Lulalaby added Merge with squash priority: medium Medium Priority status: awaiting review Awaiting review from a maintainer feature Implements a feature labels Jun 27, 2022
Lulalaby
Lulalaby previously approved these changes Jun 27, 2022
discord/ui/view.py Outdated Show resolved Hide resolved
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, Thanks @ConchDev ❤️

@Lulalaby Lulalaby merged commit 56fb961 into Pycord-Development:master Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Implements a feature priority: medium Medium Priority status: awaiting review Awaiting review from a maintainer
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants