message: fix: guildIconURL no longer accepts cached guild
diff: -import { Guild } from "../../structures/mod.ts";
  +import { DiscordImageFormat } from "../../types/misc/image_format.ts";
  +import { DiscordImageSize } from "../../types/misc/image_size.ts";
  import { endpoints } from "../../util/constants.ts";
  import { formatImageURL } from "../../util/utils.ts";
  /** The full URL of the icon from Discords CDN. Undefined when no icon is set. */
  export function guildIconURL(
  - guild: Guild,
  - size: ImageSize = 128,
  - format?: ImageFormats,
  + id: string,
  + icon: string,
  + size: DiscordImageSize = 128,
  + format?: DiscordImageFormat,
  ) {
  - return guild.icon
  - ? formatImageURL(endpoints.GUILD_ICON(guild.id, guild.icon), size, format)
  + return icon
  + ? formatImageURL(endpoints.GUILD_ICON(id, icon), size, format)
  : undefined;
  }
  