discord_set_bot_nickname
Change the bot's nickname in a specific Discord server without affecting its global username; pass null to clear the per-server nickname and fall back to the global name.
Instructions
Change the bot's own nickname in one server. This is per-server: it does not affect the bot's name in other servers, nor its global username. Pass null to clear the nickname and fall back to the global username. Requires the Change Nickname permission for the bot itself, or Manage Nicknames if changing on its own behalf is restricted. Returns the previous and new nickname.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the audit log. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| nickname | Yes | New nickname (max 32 characters), or null to clear it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | ||
| nickname | Yes | ||
| previous_nickname | Yes |