Fix emote format problems in events.js