Appearance
APIUserPartial
Package: @erinjs/types
Partial user object returned by the API (messages, members, webhooks, etc.).
Properties
| Name | Type | Readonly | Optional | Description |
|---|---|---|---|---|
avatar | string | null | No | Yes | |
avatar_color | number | null | No | Yes | RGB color as number (e.g. 7577782) |
banner | string | null | No | Yes | User banner hash (from profile, member, or invite context) |
bot | boolean | No | Yes | Present when author is a bot |
discriminator | string | No | No | |
flags | number | null | No | Yes | Public/user flags bitfield |
global_name | string | null | No | Yes | |
id | string | No | No | |
public_flags | number | null | No | Yes | |
system | boolean | No | Yes | Whether this is an official system user |
username | string | No | No |