library
turbot/discord
Get Involved
Version
Create Message
Post a message to a guild text or DM channel.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run discord.pipeline.create_message \ --arg 'channel_id=<string>' \ --arg 'message=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = discord.pipeline.create_message args = { channel_id = <string> message = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | The credential to use to authenticate with Discord. | default |
channel_id | string | Yes | The ID of the channel to send the message to | - |
message | string | Yes | The message to send. | - |
Outputs
Name | Description |
---|---|
message | The sent message details. |
Tags
type = featured