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

Set premium_since when copying and updating Member #2213

Merged
merged 1 commit into from Jun 12, 2019

Conversation

@SnowyLuma
Copy link
Contributor

commented Jun 11, 2019

Summary

Currently updates to a members premium_since value are discarded by discord.py, and attempting to compare the value in on_member_update raises an AttributeError due to it not being copied.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • 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, ...)

@Rapptz Rapptz merged commit 2b4cf5d into Rapptz:master Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.