library
turbot/discord
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Guild Channel

Create a new channel for the guild.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run discord.pipeline.create_guild_channel \
--arg 'guild_id=<string>' \
--arg 'name=<string>' \
--arg 'type=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = discord.pipeline.create_guild_channel
args = {
guild_id = <string>
name = <string>
type = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe credential to use to authenticate with Discord.default
guild_idstringYesThe ID of the guild.-
namestringYesThe name for the channel.-
typestringYesThe type of the channel.-

Outputs

NameDescription
channelThe created channel details.