Clean up unnecessary optional chaining
This commit is contained in:
parent
dd07786fe8
commit
3f34a463e9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export async function getServerInfoEmbed(
|
|||
|
||||
// IMAGE LINKS
|
||||
const iconUrl = `[Link](${(restGuild || guildPreview)!.iconURL})`;
|
||||
const bannerUrl = restGuild?.bannerURL ? `[Link](${restGuild?.bannerURL})` : "None";
|
||||
const bannerUrl = restGuild?.bannerURL ? `[Link](${restGuild.bannerURL})` : "None";
|
||||
const splashUrl =
|
||||
(restGuild || guildPreview)!.splashURL != null
|
||||
? `[Link](${(restGuild || guildPreview)!.splashURL?.replace("size=128", "size=2048")})`
|
||||
|
|
Loading…
Add table
Reference in a new issue