Table of Contents

Method ModifyAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ModifyAsync(bool, string?)

Modifies this join request.

[DiscordUnreleased("This feature is not available for bots at the current time")]
[Obsolete("This feature is not available for bots at the current time", true)]
public Task<DiscordGuildJoinRequest> ModifyAsync(bool approve, string? rejectionReason)

Parameters

approve bool

Whether to approve or deny this request.

rejectionReason string

The optional rejection reason.

Returns

Task<DiscordGuildJoinRequest>