Skip to main content
discord.deleteInvite revoke a Discord invite by code.
automations/discord-delete-invite.automation.ts

Inputs

Required invite code; optional audit-log reason. Optional second argument { account } selects the Discord binding.

Output

Returns the revoked DiscordInvite.

Discord behavior

Requires MANAGE_CHANNELS for the invite’s channel or MANAGE_GUILD.