library
turbot/discord
Get Involved
Version
Pipeline: 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
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| cred | string | Yes | The credential to use to authenticate with Discord. | default |
| guild_id | string | Yes | The ID of the guild. | - |
| name | string | Yes | The name for the channel. | - |
| type | string | Yes | The type of the channel. | - |
Outputs
| Name | Description |
|---|---|
| channel | The created channel details. |
Tags
type = featured