Update instance of plugin_hook to bot_hooks
Fix shutdown hooks