Added check to ensure we're really dealing with a bot.