Method ModifyMembershipScreeningFormAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.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.