Ask the diabetic for any suitable alternatives they can eat.
I'm not sure what other legitimate advice there is to possibly give. Medical advice isn't suitable here, we don't know what kind of cakes the person cannot eat, hell we don't even know if the person even likes cake. The only suitable answer is to actually ask the diabetic what a suitable substitute for cake is.