Adds ability to paste text (ctrl/cmd+v) into chat

Why all the indentation changes? The old code looks fine to me.