Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Server → Update Server

AI-generated

Summary

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": "", "name": "" }

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.

Links

Discussion