format the messages server side based on emote type