RestCord logo RestCord

modifyGuildMember

$client->guild->modifyGuildMember($parameters);

Description

Modify attributes of a guild member. Fires a Guild Member Update Gateway event.

Parameters

Name Type Required Default
guild.id snowflake true null
user.id snowflake true null
nick string false null
roles array false null
mute boolean false null
deaf boolean false null
channel_id snowflake false null

Response

Returns a 204 empty response on success.