create (type) channel with name (name) in server/category (parent)
Create a channel.
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
type | String | ✓ | The type of channel to create. |
name | String | ✓ | The name of the channel to create. |
parent | guild OR channel | ✓ | The parent of this channel. If a parent channel is specified, it MUST be a category channel. Specifying a category channel will place the new channel under that category. Specifying a server will create the channel in that server. |
Output
channel - A reference to the channel that was created.