Skip to content
Entity Info guildShardID

$guildShardID — Returns the server shard ID

Returns the server shard ID

Syntax

$guildShardID[guildID]

Parameters

  • guildID (id, required) — The guild to retrieve the data

Return Value

  • Number.

Usage

$guildShardID[guildID] → result

Example

$sendMessage[$guildShardID[10]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.