The faces of diamond are so cut that the light ray entered inside diamond fall on the diamond air interface at an angle greater than critical angle and so suffer repeated total internal reflections and comes out of its faces only in some specific directions, because of which it shines.
All the light-entering in it comes out of diamond after number of reflections and no light is absorbed by it.