Method ModifyStoreChannel
| Improve this Doc View SourceModifyStoreChannel(Snowflake, GuildStoreChannelOptions)
Updates the settings of a guild store channel.
Requires ManageChannels.
Declaration
public Task<DiscordGuildStoreChannel> ModifyStoreChannel(Snowflake storeChannelId, GuildStoreChannelOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | storeChannelId | The ID of the guild store channel to modify. |
| GuildStoreChannelOptions | options | A set of options to modify the channel with. |
Returns
| Type | Description |
|---|---|
| Task<DiscordGuildStoreChannel> | Returns the updated guild store channel. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
| DiscordHttpApiException |
ModifyStoreChannel(DiscordGuildStoreChannel, GuildStoreChannelOptions)
Updates the settings of a guild store channel.
Requires ManageChannels.
Declaration
public Task<DiscordGuildStoreChannel> ModifyStoreChannel(DiscordGuildStoreChannel storeChannel, GuildStoreChannelOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DiscordGuildStoreChannel | storeChannel | The guild store channel to modify. |
| GuildStoreChannelOptions | options | A set of options to modify the channel with. |
Returns
| Type | Description |
|---|---|
| Task<DiscordGuildStoreChannel> | Returns the updated guild store channel. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
| DiscordHttpApiException |