Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
User Profile → Get Profile
AI-generatedSummary
Fetches a Discord user profile, returning the user's ID, username, and avatar. If no User ID is provided, the current user's profile is returned.
Inputs
- userId — Leave empty to fetch the current user's profile. Provide a specific user ID to fetch another user's profile.
Output shape
object
Always returns an object with id, username, and avatar properties. May contain null/undefined values if the fetch fails or the user cannot be resolved.