Add panic handlers to bot.

* Fix #21