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

msg.author and msg.member are always null #192

Closed
FirephoenixX02 opened this issue Nov 24, 2022 · 2 comments
Closed

msg.author and msg.member are always null #192

FirephoenixX02 opened this issue Nov 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@FirephoenixX02
Copy link

Describe the bug
A clear and concise description of what the bug is.
msg.author and msg.member are always null.

To Reproduce
Steps to reproduce the behavior:
Try to access msg.author or msg.member

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
That the author and member are not null and return the right user object.

Screenshots
If applicable, add screenshots to help explain your problem.
grafik

grafik

Please complete the following information

  • NodeJS version (node -v) v19.1.0
  • NPM version (npm -v) 8.19.3
  • Package version (npm ls guilded.js) guilded.js@0.13.24

Additional context
Add any other context about the problem here.

@FirephoenixX02 FirephoenixX02 added the bug Something isn't working label Nov 24, 2022
@zaida04
Copy link
Owner

zaida04 commented Nov 24, 2022

This is intentional. Guilded does not give us message author or member data on the message event, so it's null. You can refer to this doc for what you can do to get around this: https://www.guilded.gg/guildedjs/groups/G3p7OAgz/channels/4641eb32-4547-4e36-bbc2-55d6780d44ca/docs/318013

@zaida04 zaida04 closed this as completed Nov 24, 2022
@FirephoenixX02
Copy link
Author

This is intentional. Guilded does not give us message author or member data on the message event, so it's null. You can refer to this doc for what you can do to get around this: https://www.guilded.gg/guildedjs/groups/G3p7OAgz/channels/4641eb32-4547-4e36-bbc2-55d6780d44ca/docs/318013

Weird but ok

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