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 message_author_id to 'Message Reaction Add' Gateway event #6102

Merged
merged 4 commits into from
Jul 13, 2023

Conversation

MahdiBM
Copy link
Contributor

@MahdiBM MahdiBM commented Apr 20, 2023

No description provided.

@DonovanDMC
Copy link
Contributor

DonovanDMC commented May 25, 2023

It should be clarified that this won't be present when reacting to webhook messages

| 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 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| 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...

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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"...

DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request May 27, 2023
@shaydewael shaydewael merged commit 095e858 into discord:main Jul 13, 2023
Nihlus added a commit to Remora/Remora.Discord that referenced this pull request Jul 14, 2023
sebm253 pushed a commit to disgoorg/disgo that referenced this pull request Jul 16, 2023
shaydewael pushed a commit to Jupith/discord-api-docs that referenced this pull request May 14, 2024
…ord#6102)

* add `message_author_id` to Message Reaction Add

* better description

* use 'who' instead of 'that'

* use 'which' instead of 'that'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants