Create invite
create_inviteCreate a Discord invite link for a channel with customizable expiry time and usage limit. Defaults to 24-hour expiry and unlimited uses, with option for a never-expiring invite.
Instructions
Create an invite link for a channel. Defaults are deliberate: expires in 24 hours, unlimited uses. A never-expiring invite must be asked for explicitly with max_age_seconds 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| max_age_seconds | No | Lifetime in seconds, 0 for never. Default 86400 (24h). | |
| max_uses | No | Use limit, 0 for unlimited. Default 0. | |
| temporary | No | Members who join leave again when they disconnect. |