discord_set_nickname
Set or clear a member's nickname on a Discord server. Provide the new nickname or null to remove it; requires Manage Nicknames permission.
Instructions
Set or clear a member's server nickname. Pass null (or the string 'null') to clear it. Requires the Manage Nicknames permission (or Change Nickname for the bot itself). The reason is recorded in the audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the server audit log. | |
| user_id | Yes | Discord user ID (snowflake) of the member. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| nickname | Yes | New nickname (max 32 characters), or null to clear it. |