Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Server → Update Server
AI-generatedSummary
Renames a Discord server using the authenticated user account.
Inputs
- serverId (required) — The ID of the server (guild) to update.
- serverName (required) — The new name to set for the server.
- iconUrl — Optional icon URL field declared in the UI, but not consumed by this operation's implementation.
Output shape
{ "success": true, "serverId": "
Each incoming item produces one JSON object.
Examples
Example 1: Given a Server ID and a new Server Name, the node fetches the guild and calls guild.setName() with the new name, then returns a success object. The optional Icon URL field is shown in the UI for this operation, but the current implementation does not read or apply it, so only the server name is updated. The node processes each incoming item separately and requires the configured discordSelfApi credential (user token).
Renames a Discord server using the authenticated user account.