Skip to main content
discord.createInvite create an invite to a Discord channel.
automations/discord-create-invite.automation.ts

Inputs

Required channelId. Optional maxAge up to 604,800 seconds, maxUses up to 100, temporary, unique, and audit-log reason. Optional second argument { account } selects the Discord binding.

Output

Returns the created DiscordInvite.

Discord behavior

Requires CREATE_INSTANT_INVITE; unique: false may reuse a matching invite.