I want to write integration tests with the bot myself. I don't plan on re-implementing the command routing etc. It would be super helpful to use the offline mode for that externally to the project. These changes allow my tests to pass successfully.