Method GetShardId
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
GetShardId(ulong, int)
Gets a shard id from a guild id and total shard count.
public static int GetShardId(ulong guildId, int shardCount)
Parameters
guildId
ulongThe guild id the shard is on.
shardCount
intThe total amount of shards.
Returns
- int
The shard id.