Discord webhook notification service.
This service posts a JSON payload directly to a Discord webhook URL. Discord
returns HTTP 204 for successful webhook delivery, which is treated as
{:ok, response}.
Summary
Functions
Sends a Discord message through a webhook.
Types
Functions
@spec call(payload(), options()) :: PingPong.result()
Sends a Discord message through a webhook.
Required payload:
%{content: "Message text"}Required options:
%{webhook: "https://discord.com/api/webhooks/..."}Missing required values return {:error, {:missing_required_params}, nil}.