Tim was ? as the bug expert by his friends.

Tim was regarded as the bug expert by his friends.

Tim was referred to as the bug expert by his friends.

To determine what Tim was referred to as by his friends, we need more information. The question as it is now is incomplete and doesn't provide enough context.