Discord Webhook Payload
Holder datum for discord webhook POST send data
Holds all information that a webhook would need, as well as a method to serialize the entire thing into JSON. See https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params
Vars | |
embeds | List of all embed objects in the message |
---|---|
webhook_content | Content of the webhook message |
webhook_name | Name the webhook user should post as |
Procs | |
serialize2json | Webhook Serializer |
Var Details
embeds
List of all embed objects in the message
webhook_content
Content of the webhook message
webhook_name
Name the webhook user should post as
Proc Details
serialize2json
Webhook Serializer
Converts the DM webhook object into JSON for a POST request. Not called serialize() because thats a proc at the /datum level already