Keep calm, if it's not a lot like normal slice for human, he'll be alright.
Cats much stronger than all we knew from the internet.
And birthday cake doesn't contain a pure chocolate, so I think he'll be fine. Just keep checking his behavior and give him water.