library
turbot/discord
Get Involved
Version
Get Guild Channels
Returns a list of guild channels.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run discord.pipeline.list_guild_channels \ --arg 'guild_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = discord.pipeline.list_guild_channels args = { guild_id = <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. | - |
Outputs
Name | Description |
---|---|
channels | The list of channels in the guild. |