Skip to main content
PATCH
/
guilds
/
{guild_id}
/
members
/
@me
Update current user guild member
curl --request PATCH \
  --url https://api.fluxer.app/v1/guilds/{guild_id}/members/@me \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nick": "<string>",
  "avatar": "aSDinaTvuI8gbWludGxpZnk=",
  "banner": "aSDinaTvuI8gbWludGxpZnk=",
  "bio": "<string>",
  "pronouns": "<string>",
  "accent_color": 8388607,
  "profile_flags": 1073741823,
  "mute": true,
  "deaf": true,
  "communication_disabled_until": "2023-11-07T05:31:56Z",
  "timeout_reason": "<string>",
  "channel_id": "<string>",
  "connection_id": "<string>"
}
'
{
  "user": {
    "id": "<string>",
    "username": "<string>",
    "discriminator": "<string>",
    "global_name": "<string>",
    "avatar": "<string>",
    "avatar_color": 1073741823,
    "flags": 1073741823,
    "bot": true,
    "system": true
  },
  "roles": [
    "<string>"
  ],
  "joined_at": "2023-11-07T05:31:56Z",
  "mute": true,
  "deaf": true,
  "nick": "<string>",
  "avatar": "<string>",
  "banner": "<string>",
  "accent_color": 1073741823,
  "communication_disabled_until": "2023-11-07T05:31:56Z",
  "profile_flags": 1073741823
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

guild_id
string<snowflake>
required

The ID of the guild

Body

application/json
nick
string | null

The nickname to set for the member (1-32 characters)

avatar
string<byte> | null

Base64-encoded image data for the member guild avatar

banner
string<byte> | null

Base64-encoded image data for the member guild banner

bio
string | null

The member guild profile bio (1-320 characters)

pronouns
string | null

The member guild profile pronouns (1-40 characters)

accent_color
integer<int32> | null

The accent color for the member guild profile as an integer

Required range: 0 <= x <= 16777215
profile_flags
integer<int32> | null

Member profile flags

Required range: 0 <= x <= 2147483647
mute
boolean

Whether the member is muted in voice channels

deaf
boolean

Whether the member is deafened in voice channels

communication_disabled_until
string<date-time> | null

ISO8601 timestamp until which the member is timed out

timeout_reason
string | null

The reason for timing out the member (1-512 characters)

channel_id
string<snowflake> | null

The voice channel ID to move the member to

connection_id
string | null

The voice connection ID for the member

Response

Success

user
object
required
roles
string[]
required

Array of role IDs the member has

Maximum array length: 250
joined_at
string<date-time>
required

ISO8601 timestamp of when the user joined the guild

mute
boolean
required

Whether the member is muted in voice channels

deaf
boolean
required

Whether the member is deafened in voice channels

nick
string | null

The nickname of the member in this guild

avatar
string | null

The hash of the member guild-specific avatar

banner
string | null

The hash of the member guild-specific banner

accent_color
integer<int32> | null

The accent colour of the member guild profile as an integer

Required range: 0 <= x <= 2147483647
communication_disabled_until
string<date-time> | null

ISO8601 timestamp until which the member is timed out

profile_flags
integer<int32> | null

Member profile flags

Required range: 0 <= x <= 2147483647