$deleteInvite
$deleteInvite
will delete a specific guild invite.
Usage
$deleteInvite[guildID;inviteCode;reason?]
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):
1client.command({2 name: "deleteInvite",3 code: `4 $deleteInvite[$guildID;ifawd9a;Testing!]5 `6});