invites_list_channel
List active invites for a channel, showing inviter, usage count, and expiration data to identify unused invites for cleanup.
Instructions
Purpose: List active invites for a single channel.
When to use:
Audit who created which invites and how often each is used.
Find candidates for
invites_deletecleanup.
When NOT to use:
All invites across a guild → use
guild_list_invites(Plan 7 Phase D).
Returns: {invites: [{code, uses, max_uses, max_age, expires_at, inviter_id, inviter_name, temporary}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel to list invites for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||