Prettified Code!

This commit is contained in:
itohatweb
2021-05-21 15:51:33 +00:00
committed by GitHub Action
parent fe4ab8517b
commit 3549cdeb63
279 changed files with 1617 additions and 1768 deletions
+9 -10
View File
@@ -12,19 +12,18 @@ export function guildSplashURL(
size?: DiscordImageSize;
format?: DiscordImageFormat;
animated?: boolean;
},
}
) {
return options.splash
? formatImageURL(
endpoints.GUILD_SPLASH(
id,
typeof options.splash === "string" ? options.splash : iconBigintToHash(
options.splash,
options.animated ?? true,
endpoints.GUILD_SPLASH(
id,
typeof options.splash === "string"
? options.splash
: iconBigintToHash(options.splash, options.animated ?? true)
),
),
options.size || 128,
options.format,
)
options.size || 128,
options.format
)
: undefined;
}