Function calculateShardId

  • Calculates the shard id for a given guild id.

    Parameters

    • guildId: string

      The guild id to calculate the shard id for

    • shardCount: number

      The total number of shards

    Returns number

Generated using TypeDoc