Fix a parameter error causing the bot to fail to restart.