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 command target to interaction response messages #7181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

advaith1
Copy link
Contributor

@advaith1 advaith1 commented Sep 27, 2024

my last feature drop :)

interaction_metadata can now have target_user or target_message_id for context menu command messages. message command messages will also have message_reference and referenced_messages.

there are also other pre-existing fields that are marked as private, like command_type. maybe those should be marked as public and then documented

I also split up the interaction metadata object into the different structures to reflect how it is stored internally and the API spec. (lib devs will probably like this)

@advaith1 advaith1 requested a review from a team as a code owner September 27, 2024 21:19
@advaith1 advaith1 requested review from colinloretz and removed request for a team September 27, 2024 21:19
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.

1 participant