Discord User icon

Discord User

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

Server → Update Server

AI-generated

Summary

Updates a Discord server's name using the provided server ID and server name.

Inputs

  • serverId (required) — The ID of the Discord server to update.
  • serverName (required) — The new name for the Discord server.
  • iconUrl — Declared in the UI for this operation but not consumed by the updateServer runtime logic.

Output shape

{ success: boolean, serverId: string, name: string }

The source code executes await(await i.guilds.fetch(s)).setName(a) and returns {success: true, serverId: s, name: a}. No other parameters (such as iconUrl) are processed.

Discussion