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 missing old_x fields in events #766

Closed
davfsa opened this issue Aug 31, 2021 · 3 comments · Fixed by #897
Closed

Add missing old_x fields in events #766

davfsa opened this issue Aug 31, 2021 · 3 comments · Fixed by #897
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@davfsa
Copy link
Member

davfsa commented Aug 31, 2021

There is currently a bit of inconsistency in the old_x fields in the update and delete events for objects we cache

Examples that I have seen are (there might be more):

@davfsa davfsa added the enhancement New feature or request label Aug 31, 2021
@davfsa davfsa added this to the 2.0.0 milestone Aug 31, 2021
@davfsa davfsa added this to To do in v2.0.0 via automation Aug 31, 2021
@ashwinvin
Copy link
Contributor

I would like to do this.

@davfsa davfsa added bug Something isn't working and removed enhancement New feature or request labels Sep 16, 2021
@davfsa davfsa assigned davfsa and unassigned ashwinvin Sep 22, 2021
@NobodyForYouCreator
Copy link

Hey, working with MemberDeleteEvent and it doesn't return old_member if member joined after bot start

  • MemberDeleteEvent

@davfsa
Copy link
Member Author

davfsa commented Nov 5, 2021

Hey, working with MemberDeleteEvent and it doesn't return old_member if member joined after bot start

* MemberDeleteEvent

That is related to the state of the cache. This issue is to track the absence of old_x fields completely missing from the object, which is currently only for *MessageDeleteEvent. You may not have the correct intents for that, which is why it is missing.

Please join the Discord server to get more help there :)

Invite: https://discord.gg/Jx4cNGG

v2.0.0 automation moved this from To do to Done Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
v2.0.0
  
Done
3 participants