Table of Contents

Method ModifyStageAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ModifyStageAsync(Optional<string>, string)

Modifies a stage topic.

public Task ModifyStageAsync(Optional<string> topic, string reason = null)

Parameters

topic Optional<string>

New topic of the stage.

reason string

Audit log reason.

Returns

Task

Exceptions

UnauthorizedException

Thrown when the client does not have the ManageChannels permission.

NotFoundException

Thrown when the channel does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.