Discord Provider
Provider name: discord
What It Does #
The Discord provider uploads a file through a Discord webhook and returns the attachment URL created by Discord.
For integrators, this mostly matters when util_generate_image needs a final
URL that is easy to reuse.
What It Usually Needs #
The Discord provider needs:
webhook_url
It can also use optional fields such as:
waitthread_id
If the webhook is missing, any tool flow that depends on this provider stays hidden or is blocked until the operator or app owner configures it.
How It Is Selected #
The Discord provider can be selected for generated-image uploads through:
X-Image-Uploaderimage_uploaderX-Upload-Provideruploader
Its webhook can also be supplied or persisted temporarily through:
X-Upload-TokenX-Upload-Persist
For this provider, X-Upload-Token maps to webhook_url.