fixed bug
This commit is contained in:
parent
00570829d7
commit
f21b060da9
4 changed files with 2 additions and 5 deletions
|
@ -256,7 +256,7 @@ class Guild {
|
|||
}
|
||||
else {
|
||||
const div = document.createElement("div");
|
||||
let build = "";
|
||||
let build = this.properties.name.replace(/'s /g, " ").replace(/\w+/g, word => word[0]).replace(/\s/g, "");
|
||||
for (const char of this.properties.name.split(" ")) {
|
||||
build += char[0];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue