message: fix: getters for cached versions of server images
diff: @@ -7,6 +7,7 @@ import { getBan } from "../helpers/guilds/get_ban.ts";
  import { getBans } from "../helpers/guilds/get_bans.ts";
  import { guildBannerURL } from "../helpers/guilds/guild_banner_url.ts";
  import { guildIconURL } from "../helpers/guilds/guild_icon_url.ts";
  +import { guildSplashURL } from "../helpers/guilds/guild_splash_url.ts";
  import { leaveGuild } from "../helpers/guilds/leave_guild.ts";
  import { getInvites } from "../helpers/invites/get_invites.ts";
  import { banMember } from "../helpers/members/ban_member.ts";
  @@ -64,7 +65,10 @@ const baseGuild: Partial<GuildStruct> = {
  return Boolean(this.features?.includes(DiscordGuildFeatures.VERIFIED));
  },
  bannerURL(size, format) {
  - return guildBannerURL(this as unknown as Guild, size, format);
  + return guildBannerURL(this.id!, this.banner!, size, format);
  + },
  + splashURL(size, format) {
  + return guildSplashURL(this.id!, this.splash!, size, format);
  },
  delete() {
  return deleteServer(this.id!);
  @@ -91,7 +95,7 @@ const baseGuild: Partial<GuildStruct> = {
  return getInvites(this.id!);
  },
  iconURL(size, format) {
  - return guildIconURL(this as unknown as Guild, size, format);
  + return guildIconURL(this.id!, this.icon!, size, format);
  },
  leave() {
  return leaveGuild(this.id!);
  @@ -216,6 +220,11 @@ export interface GuildStruct extends
  bannerURL(
  size?: DiscordImageSize,
  format?: DiscordImageFormat,
  + ): string | undefined;
  + /** The splash url for this server */
  + splashURL(
  + size?: DiscordImageSize,
  + format?: DiscordImageFormat,
  ): string | undefined;
  /** The full URL of the icon from Discords CDN. Undefined when no icon is set. */
  iconURL(
  