mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 08:45:03 +00:00
Clean up unnecessary optional chaining
This commit is contained in:
parent
4ee5a59dc8
commit
f66b19994f
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
Add a link
Reference in a new issue