Replace emit by send.
Add "me.update" command and "chat" commands.