threads_get_member
threads_get_member
Section titled “threads_get_member”Category: threads
Look up one user’s thread-membership record (join timestamp, flags).
When to use
Section titled “When to use”- Verify a user is in a thread before performing thread-only actions.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
thread_id | string | yes | Thread to look up |
user_id | string | yes | User to query |
with_member | boolean | no | Include the underlying guild member object in the Discord response |
Returns
Section titled “Returns”\{thread_id, user_id, join_timestamp, flags\}. Returns 404-shaped error if the user is not a member.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
thread_id | string | yes | Discord channel ID (snowflake) |
user_id | string | yes | Discord user ID |
join_timestamp | unknown | yes | |
flags | unknown | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |