Method ModifyCategoryChannel
| Improve this Doc View SourceModifyCategoryChannel(Snowflake, GuildCategoryChannelOptions)
Updates the settings of a guild category channel.
Requires ManageChannels.
Declaration
public Task<DiscordGuildCategoryChannel> ModifyCategoryChannel(Snowflake categoryChannelId, GuildCategoryChannelOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | categoryChannelId | The ID of the guild category channel to modify. |
| GuildCategoryChannelOptions | options | A set of options to modify the channel with. |
Returns
| Type | Description |
|---|---|
| Task<DiscordGuildCategoryChannel> | Returns the updated guild category channel. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
| DiscordHttpApiException |
ModifyCategoryChannel(DiscordGuildCategoryChannel, GuildCategoryChannelOptions)
Updates the settings of a guild category channel.
Requires ManageChannels.
Declaration
public Task<DiscordGuildCategoryChannel> ModifyCategoryChannel(DiscordGuildCategoryChannel categoryChannel, GuildCategoryChannelOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DiscordGuildCategoryChannel | categoryChannel | The guild category channel to modify. |
| GuildCategoryChannelOptions | options | A set of options to modify the channel with. |
Returns
| Type | Description |
|---|---|
| Task<DiscordGuildCategoryChannel> | Returns the updated guild category channel. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
| DiscordHttpApiException |