fix(Guild): name acronym (#4104)

This commit is contained in:
Papaia
2020-04-20 22:15:14 +03:00
committed by GitHub
parent 5af1a552bc
commit 97cbbb176b

View File

@@ -465,7 +465,10 @@ class Guild extends Base {
* @readonly
*/
get nameAcronym() {
return this.name.replace(/\w+/g, name => name[0]).replace(/\s/g, '');
return this.name
.replace(/'s /g, ' ')
.replace(/\w+/g, e => e[0])
.replace(/\s/g, '');
}
/**