Discore
Show / Hide Table of Contents

Method ModifyStoreChannel

| Improve this Doc View Source

ModifyStoreChannel(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 options is null.

DiscordHttpApiException
| Improve this Doc View Source

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 storeChannel or options is null.

DiscordHttpApiException
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX