hugoalh/Send Discord Webhook

Send Discord webhook.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
key{string} Discord webhook key.yes
username{string} Override the default webhook username.no
avatar_url{string} Override the default webhook avatar.no
content{string} Message content.no
content_links_no_embed{RegExp[]} Links' regular expressions to prevent Discord resolve and display matches links in the `content` as embed under the message.no
embeds{object[]} Message embed rich content.no
poll_question{string} Message poll question.no
poll_answers{object[]} Message poll answers.no
poll_duration{number} Message poll duration.no
poll_allow_multiselect{boolean} Whether the message poll allow multiple select answers.no
files{string[]} Message attachments/files.no
files_glob{boolean} Whether input `files` should accept Glob path instead of literal path.no
allowed_mentions_parse_everyone{boolean} Whether the message allowed `@everyone` and `@here` mentions.no
allowed_mentions_parse_roles{boolean} Whether the message allowed roles mentions.no
allowed_mentions_parse_users{boolean} Whether the message allowed users mentions.no
allowed_mentions_roles{string[]} Message allowed mention roles.no
allowed_mentions_users{string[]} Message allowed mention users.no
tts{boolean} Whether the message use TTS (Text To Speech).no
thread_id{string} Message channel thread ID.no
thread_name{string} Forum channel thread name.no
thread_tags{string[]} Forum channel thread tags.no
notification{boolean} Whether the message trigger push and desktop notifications.no
truncate_enable{boolean} Whether to try truncate firstly when inputs are too large.no
truncate_ellipsis{string} Ellipsis mark.no
truncate_position{string} Ellipsis position.no
wait{boolean} Whether to wait for Discord confirmation of message send before response.no
method_form{boolean} Whether to force use of `multipart/form-data` instead of `application/json` on the webhook request.no
namedescription
response{string} Response content.
status_code{number} Request status code.
status_ok{boolean} Whether the request was successful.
status_text{string} Request status text.