You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the v14 documentation for UserContextMenuCommandInteraction, some of the properties have contradicting descriptions. With testing its clear what each property contains, but the documentation should be clear and concise on what the property actually is.
UserContextMenu#targetUser currently has a vague description that makes it sound like it contains the user object of the person who originated the interaction.
UserContextMenu#targetMember has this same format.
Ideal solution or implementation
The ideal solution would be to update the description for these properties
Ex.
UserContextMenu#targetUser
The user of the target for this interaction.
UserContextMenu#targetMember
The member of the target for this interaction.
Alternative solutions or implementations
No response
Other context
This has the same wording for the v13 equivalent of a UserContextMenu. If this gets considered, updating the v13 docs would be a good idea as well.
The text was updated successfully, but these errors were encountered:
Looking at this too, I believe they should change. I'd rather treat this as a bug than a feature request. If you look at UserContextMenuCommandInteraction#user, it's actually the same wording as UserContextMenuCommandInteraction#targetUser!
Which package is the feature request for?
discord.js
Feature
Looking at the v14 documentation for UserContextMenuCommandInteraction, some of the properties have contradicting descriptions. With testing its clear what each property contains, but the documentation should be clear and concise on what the property actually is.
UserContextMenu#targetId currently has an ideal description
UserContextMenu#targetUser currently has a vague description that makes it sound like it contains the user object of the person who originated the interaction.
UserContextMenu#targetMember has this same format.
Ideal solution or implementation
The ideal solution would be to update the description for these properties
Ex.
UserContextMenu#targetUser
The user of the target for this interaction.
UserContextMenu#targetMember
The member of the target for this interaction.
Alternative solutions or implementations
No response
Other context
This has the same wording for the v13 equivalent of a UserContextMenu. If this gets considered, updating the v13 docs would be a good idea as well.
The text was updated successfully, but these errors were encountered: