Skip to content

Conversation

@Kaedriz
Copy link
Contributor

@Kaedriz Kaedriz commented Sep 3, 2025

Description

Testing ground for new embed system in chat, research in what needs to be changed in order to accommodate several chat embeds.

Original 7tv emote preview for design comparison:
image

Rough mockup of what it would look like(non-square sizes not supported yet):
image

For now only works for Kick, as this is prototyping only anyway.

Testing

Select all the environments you tested this PR with:

Twitch

  • BetterTTV (BTTV)
  • FrankerFaceZ (FFZ)
  • 7TV
  • Native Twitch

Kick

  • 7TV
  • Nipahtv (NTV)
  • Native Kick

@Kaedriz
Copy link
Contributor Author

Kaedriz commented Sep 3, 2025

	private async getAttachmentData(url: URL) {
		try {
			const { response } = await this.httpClient.request(url.href);


			return { type: response.headers.get("Content-Type"), size: "10" };
		} catch (error) {
			this.logger.warn("Couldn't get attachment data", error);
		}
	}

Api 7tv nie odpowiada na HEAD requesty + nie wysyła Content-Length, dodatkowo nie ma jak przesłac dalej danych otrzymanych w requescie.

Domyślam się ze stworzenie osobnego listenera/handlera nie wchodzi w gre, gdyż 2 na raz nasłuchiwały by. Trzeba więc wyosobnić system zdobywania/przesyłania dalej danych zdobytych z attachmentów.

@igorovh igorovh changed the base branch from master to dev October 27, 2025 22:21
@igorovh igorovh changed the base branch from dev to master October 29, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant