$deleteInvite
$deleteInvite
will delete a specific guild invite.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID whose invite should be deleted. | true |
inviteCode | string | The specific invite code. | true |
reason? | string | Reason which will be displayed in the guild’s audit logs. | false |
Example(s)
This will delete an invite (wont work as the invite code doesn’t exist):