Skip to main content

Server

This was previously named {guild}. All {server} tags have a {guild} alias for backwards compatibility. {server.id} is the same as {guild.id}.

{server.id}

Returns the ID of the server.

{server.name}

Returns the name of the server.

{server.icon;size;hash}

Gets the icon of the server.

Arguments

  • size: The size of the image to get. Must be a valid CDN size.
  • hash: Whether to return the hash directly instead of a URL.

{server.splash;size;hash}

Gets the splash image of the server.

Arguments

  • size: The size of the splash to get. Must be a valid CDN size.
  • hash: Whether to return the hash directly instead of a URL.

{server.banner;size;splash}

Gets the banner of the server.

Arguments

  • size: The size of the banner to get. Must be a valid CDN size.
  • hash: Whether to return the hash directly instead of a URL.

{server.channels}

Returns an array of IDs for all channels in the server.

{server.roles}

Returns an array of IDs for all roles in the server.

{server.shardId}

Returns the ID of the shard the bot is running on in the server.

{server.ownerId}

Returns the ID of the server owner.

{server.memberCount}

Returns the total count of members in the server. This should be almost exactly accurate and is not subject to caching issues.

{server.createdAt}

Returns a timestamp for the creation date of a server that can be used with {time}.

{server.prefix}

Gets the legacy prefix of the server. This tag is only available for compatibility reasons and is not recommended in new actions. This tag is deprecated and may be removed in a future release.

{server.subscriptionTier}

Returns the subscription tier level of the server.

0 = Prime, 1 = PrimeClassic, 2 = PrimeCommunity

{server.subscriptionUser}

Returns the ID of the user who added the subscription to the server.