mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
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
|
// IMAGE LINKS
|
||||||
const iconUrl = `[Link](${(restGuild || guildPreview)!.iconURL})`;
|
const iconUrl = `[Link](${(restGuild || guildPreview)!.iconURL})`;
|
||||||
const bannerUrl = restGuild?.bannerURL ? `[Link](${restGuild?.bannerURL})` : "None";
|
const bannerUrl = restGuild?.bannerURL ? `[Link](${restGuild.bannerURL})` : "None";
|
||||||
const splashUrl =
|
const splashUrl =
|
||||||
(restGuild || guildPreview)!.splashURL != null
|
(restGuild || guildPreview)!.splashURL != null
|
||||||
? `[Link](${(restGuild || guildPreview)!.splashURL?.replace("size=128", "size=2048")})`
|
? `[Link](${(restGuild || guildPreview)!.splashURL?.replace("size=128", "size=2048")})`
|
||||||
|
|
Loading…
Add table
Reference in a new issue