members_get
members_get
Section titled “members_get”Category: members
Fetch a guild member by user ID.
When to use
Section titled “When to use”inspect roles, nick, joined-at of a known user.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
guild_id | string | yes | Guild containing the member |
user_id | string | yes | Member to fetch |
Returns
Section titled “Returns”\{user_id, username, global_name, nick, roles, joined_at, premium_since, pending\}. nick wrapped in \<untrusted_discord_username>.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | Discord user ID |
username | string | yes | |
global_name | unknown | yes | |
nick | unknown | yes | |
roles | array | yes | |
joined_at | string | yes | |
premium_since | unknown | yes | |
pending | boolean | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |