Tags

{server} Tags

Note

This was previously named {guild}, but was renamed for simplicity. Old scripts will still work with {guild}.

{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.

NameTypeDefaultDescription
sizenumber512The size of the image to get. Must be a valid CDN size.
hashbooleanfalseWhether to return the hash directly instead of a URL.

{server.splash;size;hash}

Gets the splash image of the server.

NameTypeDefaultDescription
sizenumber2048The size of the splash to get. Must be a valid CDN size.
hashbooleanfalseWhether 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.

{server.botId}

Returns the ID of the bot. Normally this will always be the Id for Atlas, but when using custom bots this may return the ID of the custom bot.