Method ModifyJoinRequestsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
ModifyJoinRequestsAsync(ulong, bool, string?)
Modifies a 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> ModifyJoinRequestsAsync(ulong joinRequestId, bool approve, string? rejectionReason)
Parameters
joinRequestIdulongThe ID of the join request.
approveboolWhether to approve or deny the request.
rejectionReasonstringThe optional rejection reason.