kfird214/Discord Webhook Action

Send custom messages or upload files to discord webhooks with simple action inputs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 31, 2023
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: kfird214/discord-webhook@7bce6e55dccac00742b457f6033733fbcd1a5957 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
webhook-urlWebhook URL from discord. See: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks for detailsyes
contentMessage that is sent via the webhook.no
thread-idID of the thread you want the webhook to send the message into (will automatically unarchive threads)no
thread-nameName of the thread you want the webhook to createno
flagsMessage flagsno
usernameThe username that should appear to send the message. Note: username will have the "bot" badge next to their name.no
avatar-urlURL for the avatar that should appear with the message.no
ttsBoolean to indicate whether the webhook is text-to-speechno
raw-dataName of a json file that will be sent as the data for the webhookno
raw-stringContent of json string that will be sent as the data for the webhookno
filenameName of a file that will be uploaded via the webhookno
embed-titleEmbed titleno
embed-urlEmbed URLno
embed-descriptionEmbed descriptionno
embed-timestampEmbed timestamp (ISO8601 format)no
embed-colorEmbed colorno
embed-footer-textEmbed footer textno
embed-footer-icon-urlEmbed footer icon urlno
embed-image-urlEmbed image urlno
embed-thumbnail-urlEmbed thumbnail urlno
embed-author-nameEmbed author nameno
embed-author-urlEmbed author urlno
embed-author-icon-urlEmbed author iconno
embed-fieldsEmbed fields (custom format) - inline field 1 inline field 2 . none inline field 3 no

no outputs