class InvitesAPI

export declare class InvitesAPI

Constructors

constructor(
rest: REST
)

Constructs a new instance of the InvitesAPI class

delete(
code: string
options?: Pick<RequestData, 'reason' | 'signal'>
) : Promise<void>

Deletes an invite

See also: https://discord.com/developers/docs/resources/invite#delete-invite