refactor progress
This commit is contained in:
23
fluxer_docs/schemas/events/WEBHOOKS_UPDATE.json
Normal file
23
fluxer_docs/schemas/events/WEBHOOKS_UPDATE.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"name": "WEBHOOKS_UPDATE",
|
||||
"description": "Sent when a guild channel webhook is created, updated, or deleted. Indicates that webhooks for the channel should be re-fetched.",
|
||||
"scope": "guild",
|
||||
"dispatchedBy": [
|
||||
"POST /channels/:channel_id/webhooks",
|
||||
"PATCH /webhooks/:webhook_id",
|
||||
"DELETE /webhooks/:webhook_id",
|
||||
"PATCH /webhooks/:webhook_id/:token",
|
||||
"DELETE /webhooks/:webhook_id/:token"
|
||||
],
|
||||
"payload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"channel_id": {
|
||||
"type": "string",
|
||||
"description": "Channel ID whose webhooks were updated"
|
||||
}
|
||||
},
|
||||
"required": ["channel_id"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user