Moderation
deleteInvite
$deleteInvite
Revokes an invite. This function is a Bot Creator extension: it does not exist in the official BDFD wiki. It runs the same Discord logic as the matching block.
Syntax
$deleteInvite[inviteCode]
Parameters
| Parameter | Description |
|---|---|
inviteCode |
Required. The invite code, without the discord.gg/ part. |
Return Value
- Type: String
- Always empty.
Behavior
- The bot needs Manage Channels in the guild.
Examples
$deleteInvite[abc123]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.