Fix bug where lack of reference causes bot to be unable to restart app
ProcessProtocol actually only needs access to bot, not to api