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