-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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_author_id
to 'Message Reaction Add' Gateway event
#6102
Conversation
It should be clarified that this won't be present when reacting to webhook messages |
docs/topics/Gateway_Events.md
Outdated
| guild_id? | snowflake | ID of the guild | | ||
| member? | [member](#DOCS_RESOURCES_GUILD/guild-member-object) object | Member who reacted if this happened in a guild | | ||
| emoji | a partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | Emoji used to react - [example](#DOCS_RESOURCES_EMOJI/emoji-object-standard-emoji-example) | | ||
| message_author_id | snowflake | ID of the user that authored the message that was reacted to | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| message_author_id | snowflake | ID of the user that authored the message that was reacted to | | |
| message_author_id | snowflake | ID of the user who authored the message that was reacted to | |
I'd say, that way the description sounds better...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both "that" and "who" are clear enough so I don't care which one to use, but a bot could also be a message author, and "who" isn't exactly correct for bots AFAIK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's more about having 2 "that" in the same sentence. correct but maybe a bit weird?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I guess who sounds better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, you could replace the second "that" with "which"...
…ord#6102) * add `message_author_id` to Message Reaction Add * better description * use 'who' instead of 'that' * use 'which' instead of 'that'
No description provided.