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