{#if event.data.type == 'join'}
{event.data.user.user.username} has joined {event.data.user.team_name.toLowerCase()} team
{:else if event.data.type == 'switch'}
{event.data.user.user.username} switched to {event.data.user.team_name.toLowerCase()} team
{:else if event.data.type == 'leave'}
{event.data.user.user.username} left the game
{/if}