Skip to content

$deleteInvite

$deleteInvite will delete a specific guild invite.

Usage

$deleteInvite[guildID;inviteCode;reason?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe guild ID whose invite should be deleted.true
inviteCodestringThe specific invite code.true
reason?stringReason 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):

1
client.command({
2
name: "deleteInvite",
3
code: `
4
$deleteInvite[$guildID;ifawd9a;Testing!]
5
`
6
});