!server: fix banner URL not being masked; rename links from 'URL' to 'Link'
This commit is contained in:
parent
2e5224124f
commit
dd07786fe8
1 changed files with 3 additions and 3 deletions
|
@ -82,11 +82,11 @@ export async function getServerInfoEmbed(
|
|||
});
|
||||
|
||||
// IMAGE LINKS
|
||||
const iconUrl = `[URL](${(restGuild || guildPreview)!.iconURL})`;
|
||||
const bannerUrl = restGuild?.bannerURL ?? "Unavailable";
|
||||
const iconUrl = `[Link](${(restGuild || guildPreview)!.iconURL})`;
|
||||
const bannerUrl = restGuild?.bannerURL ? `[Link](${restGuild?.bannerURL})` : "None";
|
||||
const splashUrl =
|
||||
(restGuild || guildPreview)!.splashURL != null
|
||||
? `[URL](${(restGuild || guildPreview)!.splashURL?.replace("size=128", "size=2048")})`
|
||||
? `[Link](${(restGuild || guildPreview)!.splashURL?.replace("size=128", "size=2048")})`
|
||||
: "None";
|
||||
|
||||
embed.fields.push(
|
||||
|
|
Loading…
Add table
Reference in a new issue