Repository: discordjs/discord.js
File: packages/rest/src/lib/CDN.ts (TypeScript)

Code before:
	 * @param scheduledEventId - The scheduled event id
	 * @param coverHash - The hash provided by discord for this cover image
	 * @param options - Optional options for the cover image
	 */
	public guildScheduledEventCover(
		scheduledEventId: string,
		coverHash: string,
		options?: Readonly<BaseImageURLOptions>,
	): string {
		return this.makeURL(`/guild-events/${scheduledEventId}/${coverHash}`, options);
	}

	/**
	 * Generates a URL for a soundboard sound.
	 *
	 * @param soundId - The soundboard sound id
	 */
	public soundboardSound(soundId: string): string {
		return `${this.cdn}${CDNRoutes.soundboardSound(soundId)}`;
	}

	/**
	 * Generates a URL for a guild tag badge.
	 *
	 * @param guildId - The guild id
	 * @param badgeHash - The hash provided by Discord for this badge
	 * @param options - Optional options for the badge
	 */
	public guildTagBadge(guildId: string, badgeHash: string, options?: Readonly<BaseImageURLOptions>): string {
		return this.makeURL(`/guild-tag-badges/${guildId}/${badgeHash}`, options);
	}

	/**
	 * Constructs the URL for the resource, checking whether or not `hash` starts with `a_` if `dynamic` is set to `true`.
	 *
	 * @param route - The base cdn route
	 * @param hash - The hash provided by Discord for this icon
	 * @param options - Optional options for the link
	 */
	private dynamicMakeURL(
		route: string,
		hash: string,
		{ forceStatic = false, ...options }: Readonly<ImageURLOptions> = {},
	): string {
		return this.makeURL(route, !forceStatic && hash.startsWith('a_') ? { ...options, animated: true } : options);
	}

	/**
	 * Constructs the URL for the resource
	 *
	 * @param route - The base cdn route

Review comment (suggestion):
I mean, where else would the badge be from?

```suggestion
	 * @param badgeHash - The hash of the badge
```

Code after:
	 *
	 * @param bannerId - The banner id
	 * @param options - Optional options for the banner
	 */
	public stickerPackBanner(bannerId: string, options?: Readonly<BaseImageURLOptions>): string {
		return this.makeURL(`/app-assets/710982414301790216/store/${bannerId}`, options);
	}

	/**
	 * Generates a team icon URL for a team's icon.
	 *
	 * @param teamId - The team id that has the icon
	 * @param iconHash - The hash provided by Discord for this icon
	 * @param options - Optional options for the icon
	 */
	public teamIcon(teamId: string, iconHash: string, options?: Readonly<BaseImageURLOptions>): string {
		return this.makeURL(`/team-icons/${teamId}/${iconHash}`, options);
	}

	/**
	 * Generates a cover image for a guild scheduled event.
	 *
	 * @param scheduledEventId - The scheduled event id
	 * @param coverHash - The hash provided by discord for this cover image
	 * @param options - Optional options for the cover image
	 */
	public guildScheduledEventCover(
		scheduledEventId: string,
		coverHash: string,
		options?: Readonly<BaseImageURLOptions>,
	): string {
		return this.makeURL(`/guild-events/${scheduledEventId}/${coverHash}`, options);
	}

	/**
	 * Generates a URL for a soundboard sound.
	 *
	 * @param soundId - The soundboard sound id
	 */
	public soundboardSound(soundId: string): string {
		return `${this.cdn}${CDNRoutes.soundboardSound(soundId)}`;
	}

	/**
	 * Generates a URL for a guild tag badge.
	 *
	 * @param guildId - The guild id
	 * @param badgeHash - The hash of the badge
	 * @param options - Optional options for the badge
	 */
	public guildTagBadge(guildId: string, badgeHash: string, options?: Readonly<BaseImageURLOptions>): string {