fix cross instance invite banner bug
This commit is contained in:
parent
5a5ba5f679
commit
4b67ed6a9c
1 changed files with 1 additions and 6 deletions
|
@ -268,12 +268,7 @@ class Embed {
|
|||
if (json.guild.banner) {
|
||||
const banner = document.createElement("img");
|
||||
banner.src =
|
||||
this.localuser.info.cdn +
|
||||
"/icons/" +
|
||||
json.guild.id +
|
||||
"/" +
|
||||
json.guild.banner +
|
||||
".png?size=256";
|
||||
info.cdn + "/icons/" + json.guild.id + "/" + json.guild.banner + ".png?size=256";
|
||||
banner.classList.add("banner");
|
||||
div.append(banner);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue