threads_get_member
Check a user's membership record in a Discord thread, including join timestamp and flags, to verify access before performing thread-only actions.
Instructions
Purpose: Look up one user's thread-membership record (join timestamp, flags).
When to use:
Verify a user is in a thread before performing thread-only actions.
Returns: {thread_id, user_id, join_timestamp, flags}. Returns 404-shaped error if the user is not a member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User to query | |
| thread_id | Yes | Thread to look up | |
| with_member | No | Include the underlying guild member object in the Discord response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||