Table of Contents

Method GetShardId

Namespace
DisCatSharp
Assembly
DisCatSharp.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 ulong

The guild id the shard is on.

shardCount int

The total amount of shards.

Returns

int

The shard id.