function guildSplashURL(
  id,
  options,
) {
  return options.splash
    ? formatImageURL(
      endpoints.GUILD_SPLASH(
        id,
        typeof options.splash === "string"
          ? options.splash
          : iconBigintToHash(options.splash, options.animated ?? true),
      ),
      options.size || 128,
      options.format,
    )
    : undefined;
}
/** The full URL of the splash from Discords CDN. Undefined if no splash is set. */
The full URL of the splash from Discords CDN. Undefined if no splash is set.
The full URL of the splash from Discords CDN . Undefined if no splash is set .
function guildSplashURL(
  id,
  options,
) {
  return options.splash
    ? formatImageURL(
      endpoints.GUILD_SPLASH(
        id,
        typeof options.splash === "string"
          ? options.splash
          : iconBigintToHash(options.splash, options.animated ?? true),
      ),
      options.size || 128,
      options.format,
    )
    : undefined;
}
function guildSplashURL ( id , options , ) { return options . splash ? formatImageURL ( endpoints . GUILD_SPLASH ( id , typeof options . splash === "string" ? options . splash : iconBigintToHash ( options . splash , options . animated ?? true ) , ) , options . size || 128 , options . format , ) : undefined ; }
The full URL of the splash from Discords CDN.
The full URL of the splash from Discords CDN .