discord_set_guild_name
Change a Discord server's guild name shown in the server list; requires Manage Server and returns the previous and new names.
Instructions
Change the server's name. This is the guild name shown at the top of the server list, not the bot's own name and not the bot's nickname in this server (use discord_set_bot_nickname for that). Requires Manage Server. Returns the previous and new name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New server name (2–100 characters). | |
| reason | No | Optional reason recorded in the audit log. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| previous_name | Yes |