Make the bot safe.

This should prevent any... strange behaviour.