$revokeInvite
Revokes/Deletes a guild invite from any guild the bot can see. Bot must have permissions to manage guild!

FUNCTION USAGE

  • $revokeInvite[link]
  • $revokeInvite[full link]
  • $revokeInvite[code]

Properties:

link - The link to the guild invite. full link - The full link to the guild invite. code - The code to the invite link.
Example 1: Deletes a guild invite using the link.
1
bot.Command({
2
name: "test",
3
code: `
4
$revokeInvite[discord.gg/Egt3FjVB5]
5
`
6
})
Copied!
Example 2: Deletes a guild invite using the full link.
1
bot.Command({
2
name: "test",
3
code: `
4
$revokeInvite[https://discord.gg/Egt3FjVB5]
5
`
6
})
Copied!
Example 3: Deletes a guild invite using the code.
1
bot.Command({
2
name: "test",
3
code: `
4
$revokeInvite[Egt3FjVB5]
5
`
6
})
Copied!
Last modified 7mo ago
Copy link
Contents
Properties: