Maint: Save bot state

This change is mostly in preparation for future functionality. For
example, a potential bot command may be added to allow a user to restart
the bot. Upon the subsequent reconnect, the bot should remain in the
state from its previous session.