-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Description
Seemingly wrong documentation for the interaction object for webhook based slash commands
Steps to Reproduce
Verify webhook endpoint, inspect object that discord POST's to your endpoint
Expected Behavior
Matches documentation
Current Behavior
Several required fields marked as required in the documentation are missing and a new user field is added.
Screenshots/Videos
Here is an example object returned:
{
"id": "<redacted>",
"token": "<redacted>",
"type": 1,
"user": {
"avatar": "<redacted>",
"discriminator": "<redacted>",
"id": "<redacted>",
"public_flags": 0,
"username": "<redacted>"
},
"version": 1
}
Here is a screenshot of the documentation showing the fields that are to be expected:

Client and System Information
N/A