I guess the root of the problem is that the chat element lost focus when after switching back to the Discord.com tab.
Bug 1629263 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I guess the root of the problem is that the chat element lost focus after switching back to the Discord.com tab.