Table of Contents

Method ModifyMembershipScreeningFormAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ModifyMembershipScreeningFormAsync(Action<MembershipScreeningEditModel>)

Modifies this guild's membership screening form.

public Task<DiscordGuildMembershipScreening> ModifyMembershipScreeningFormAsync(Action<MembershipScreeningEditModel> action)

Parameters

action Action<MembershipScreeningEditModel>

Action to perform

Returns

Task<DiscordGuildMembershipScreening>

The modified screening form.

Exceptions

UnauthorizedException

Thrown when the client doesn't have the ManageGuild permission, or community is not enabled on this guild.

ServerErrorException

Thrown when Discord is unable to process the request.