-
Notifications
You must be signed in to change notification settings - Fork 2
Discord
Send a (plain) message to a Discord webhook.
webhookUrl
: The URL of your Discord webhook.
message
: The content of the message.
Send an embed to a Discord webhook.
webhookUrl
: The URL of your Discord webhook.
title
: The title of the embed.
description
(optional): The description of the embed.
color
(optional): The color to use for the embed, represented by a decimal value. Examples: 3066993
(green), 15158332
(red), 16776960
(yellow).
fields
(optional): Fields to include in the header, represented by an array of a two-string array (title and value). Example: [['Title', 'Value'], ['Title2', 'Value2']]
.
footer
(optional): The embed's footer.
url
(optional): The URL that the embed's title links to.
Send one or more files to a Discord webhook.
webhookUrl
: The URL of your Discord webhook.
files
: Either a String
or a List
of the path(s) of the file(s) to send.
message
(optional): The content of the message.
- Source Control
- Building and Testing
- Messaging
- Shipping
- Miscellaneous
- Example Pipelines