library
turbot/discord
Get Involved
Version
Pipeline: Delete Channel
Delete a channel, or close a private message.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run discord.pipeline.delete_channel \ --arg 'channel_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = discord.pipeline.delete_channel args = { channel_id = <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 delete. | - |
Outputs
Name | Description |
---|---|
channel | The deleted channel. |