sample
turbot/flowpipe-samples/send-discord-message
Get Involved
Version
Pipeline: Send Discord Message
Send a message to a Discord channel.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run send_discord_message.pipeline.send_discord_message \ --arg 'discord_channel_id=<string>' \ --arg 'discord_message=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = send_discord_message.pipeline.send_discord_message args = { discord_channel_id = <string> discord_message = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
discord_conn | connection.discord | Yes | Name for Discord connections to use. If not provided, the default connection will be used. | connection.discord.default |
discord_channel_id | string | Yes | The ID of the channel to send the message to. | - |
discord_message | string | Yes | The message to send. | - |
Outputs
Name | Description |
---|---|
create_message_check |