library
turbot/discord
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesThe credential to use to authenticate with Discord.default
channel_idstringYesThe ID of the channel to send the message to-
messagestringYesThe message to send.-

Outputs

NameDescription
messageThe sent message details.

Tags

type = featured