Finished refactor of bot/plugin architecture.