Closed
Description
Attempting to send a message through a webhook on the slack
path ignores the wait
parameter, and always returns "ok"
curl --request POST \
--url https://canary.discordapp.com/api/webhooks/:id/:token/slack?wait=true \
--header 'content-type: application/json' \
--data '{
"username": "Test123",
"attachments": [{
"pretext": "this looks pretty cool",
"color": "#F0F",
"footer": "This is a test",
"ts": 1565708994
}]
}'
Per the docs, waits for server confirmation of message send before response (defaults to true; when false a message that is not saved does not return an error)
Metadata
Assignees
Labels
No labels