Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2019-01-25 12:15:44 +01:00
parent aaeb5daed8
commit 1c44a4e677
1 changed files with 1 additions and 1 deletions

View File

@ -998,7 +998,7 @@ class EditUsers {
textarea.focus();
textarea.selectionStart = textarea.value.length - lastword.length;
textarea.selectionEnd = textarea.value.length;
document.execCommand("insertText", false, username && discriminator ? ("@" + username + discriminator) : `<@!${userid}>`);
document.execCommand("insertText", false, (username && discriminator ? ("@" + username + discriminator) : `<@!${userid}>`) + " ");
textarea.selectionStart = textarea.value.length;
textarea.selectionEnd = textarea.value.length;
}