Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Invite → Create Invite
AI-generatedSummary
Create an invite for a Discord channel.
Inputs
- channelId (required) — ID of the channel to create the invite for.
- maxAge — Time in seconds before the invite expires (0 = never). Default: 86400.
- maxUses — Maximum number of uses (0 = unlimited). Default: 0.
Output shape
single object
Returns the invite code and URL. If the channel is not found or lacks createInvite permission, no output is produced.