-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Issue: https://github.com/top-gg/docs/blob/master/docs/Resources/webhooks.mdx#bot-webhooks
Problem:
The documentation says the query parameter is sent as a string. This is incorrect. It's sent as an object with parameters as properties and their values as the property values.
Actual payload example from the webhook:
{
user: '491002268401926145',
type: 'upvote',
query: { source: 'command' },
isWeekend: true,
bot: '675996677366218774'
}Solution:
The query parameter description needs to be fixed to reflect the fact the webhook sends this property as an object with the parameters as properties inside that object, and not a string.
Metadata
Metadata
Assignees
Labels
No labels