Table of Contents

Method ModifyAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ModifyAsync(Action<MemberEditModel>)

Modifies this member.

public Task ModifyAsync(Action<MemberEditModel> action)

Parameters

action Action<MemberEditModel>

Action to perform on this member.

Returns

Task

Exceptions

UnauthorizedException

Thrown when the client does not have the ManageNicknames permission.

NotFoundException

Thrown when the member does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.