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

[Bug] messageUpdate event does not contain member #195

Closed
orvitpng opened this issue Jul 5, 2021 · 3 comments
Closed

[Bug] messageUpdate event does not contain member #195

orvitpng opened this issue Jul 5, 2021 · 3 comments
Labels
bug 🐛 Something isn't working

Comments

@orvitpng
Copy link

orvitpng commented Jul 5, 2021

What's the bug?
In the event messageUpdate, if you grab the guild from newMessage, it will return null.

How do we reproduce it?

  1. if (!msg.member) return; in messageUpdate. Will return when msg is newMessage.

What should have happened?
The member object would be returned.

What is actually happening?
We gain the ever growing collectors item called 'null'.
image

What versions you're using?

  • OS: Arch x86_64
  • Deno: 1.11.3
  • Harmony: 2.0.0rc3

using the main branch

@orvitpng orvitpng added the bug 🐛 Something isn't working label Jul 5, 2021
@orvitpng
Copy link
Author

orvitpng commented Jul 5, 2021

poggers const msgMember = msg.guild.members.get(msg.author.id);

@DjDeveloperr
Copy link
Member

try from latest commit

@orvitpng
Copy link
Author

orvitpng commented Jul 5, 2021

damn dj fixing everyone's shit

@orvitpng orvitpng closed this as completed Jul 5, 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
None yet
Development

No branches or pull requests

2 participants