#developers

1 messages · Page 9 of 1

pulsar iris
#

Emotes in chat are 32px

green condor
#

took the small version and made it 128x128 with pixel upscaling

#

uploaded it and I think it's just compressing it so the smaller versions of the emote look bad

pulsar iris
#

Oh no no no

stuck oasis
#

whats the emote that compressed it

pulsar iris
#

Make a native 128

#

Don't upscale it

green condor
#

I uploaded it as 128x128

#

as pixel

stuck oasis
#

how

#

which upsacaling algorithm

pulsar iris
green condor
#

I took the small pixel version and upscaled it with Photoshop's Pixel algorithm to 128x128
then uploaded it on 7tv

stuck oasis
#

send the uploaded emote link

#

me rn

pulsar iris
#

He did

green condor
stuck oasis
#

oh

pulsar iris
stuck oasis
#

ok but wheres the problem

#

it looks fine to me

green condor
#

there's strange dot Hmm

stuck oasis
#

ahhh

green condor
#

so yep ApuShrug

stuck oasis
#

yeah ur fucked

green condor
stuck oasis
#

i think you cant really avoid that stuff with compression

#

not that i know much about it tho

pulsar iris
green condor
#

yeah I can't there has to be a compression choosing feature or something

pulsar iris
#

There's nerds in there

stuck oasis
#

(does this actually matter this much tho?)

green condor
stuck oasis
#

i guess

#

troy and lennart talked about there being a built in emote editor kinda like ffz has on the new website so there might exist something like that

green condor
#

Donki wait there's secret 7TV pages?

stuck oasis
#

no a new website is being made

green condor
#

oh

#

oh wait you mean the devs talked about it

#

wait isn't there a subdomain that is for testing?
once I joined this Discord and there was a Testing 7TV page ApuThink

stuck oasis
#

not that website atm

#

afaik

green condor
stuck oasis
green condor
#

All I need is Rust to run it? 🤔

stuck oasis
stuck oasis
pulsar iris
#

Lol

paper token
#

10tv leaked

lyric violet
paper token
atomic oracle
#

@south flare

Hello. I write with the help of a translator. I am developing an extension so that you can send pictures to the chat. The expansion is based on the original 7tv. Can I take styles from your site and make my own project in similar styles?

south flare
#

not sure what that means but sure

atomic oracle
#

Can I then share the result of my work here and what my extension looks like, which complements the 7tv extension?

sour elm
#

hey guys, is there a way to add emotes for use via apis?

sudden gust
sour elm
sudden gust
sour elm
#

I mean instead of adding emotes to the channel via this button, i'd like to do it via api

sour elm
#

How could i get the the token required? as i cannot see details

ionic yarrow
sour elm
atomic oracle
#

That work

stuck oasis
#

LMAOOO

mortal fossilBOT
#

Hey mzntori, - I just private messaged you 1 private reminder(s) - make sure to check them out!

stuck oasis
#

based

rotund pivot
#

ayyybuWhar is that a real emote

stuck oasis
#

no not on 7tv

forest swift
ionic yarrow
rotund pivot
#

i thought the image processor broke again

#

we had this happen once

stuck oasis
rancid tulip
rancid tulip
#

@sullen edge creatureHug

#

like my hug emote?

sullen edge
#

creatureStranglingTheDoc

sullen edge
rancid tulip
#

fix the bugs devs

quick spear
#

ruined

rancid tulip
sour elm
atomic oracle
#

HUH Perfect Work (NSFW filter Enabled)

candid nexus
#

hey there! Is there a way to search for an emote by exact value? I've tried doing it like this and I get my search query match on the second position, instead of first why is that

#

I'm making kind of a emote parser and looking for a way to quick find an emote by name

plush kayak
#

well then loop through these results until you found the correct one

#

this platform is horrible and it won't be fixed for a long time probably

ionic yarrow
#

case sensitivity got removed

candid nexus
#

Sad, then no parser using 7tv I guess

stuck oasis
#

wdym parser

#

as nett said you can just iterate until you find something or is there a problem with that

candid nexus
#

That should work most of the time

stuck oasis
#

which cases does it not work in

obtuse raft
#

anybody has any experience making 7tv appear on three.js? i was using twitch-chat-emotes and it's great for twitch bttv and ffz but 7tv doesn't seem to be working. tried making it myself using an IRC connection and parsing them from there but for some reason it's not really animating them, ive tried replacing the url from webp to gif when it's animated and it's not working either, i don't really know what to try i'm kinda stuck

stuck oasis
#

what does the url for the aniamted file look like

#

like give an example for an emote

#

i think bttv also stores emotes as webp at this point ( Clueless ! ) so i doubt it has something to do with threejs ( Clueless !!! ) but since the new API you can get static images per API maybe you do that accidentally

obtuse raft
#

i just figured out what it was, twitch-chat-emotes transforms all emotes into webm since threejs doesn't allow for animated gif/webp textures, so i'd have to add a server implementation that does that will all emotes or bulk transform them all and keep it static

#

think im gonna go with the latter since it's just for myself

#

until the dev hopefully fixes the 7tv implementation

#

thanks for the help anyways @stuck oasis mopoloL

stuck oasis
#

np muniSit

swift bough
#

it does animated emotes by putting each frame in a texture atlas

swift bough
stuck oasis
swift bough
obtuse raft
#

hell yeah!! I’ll implement it today and show you how it ends lookin DankCheer

wraith hatch
#

Hi

obtuse raft
#

ended up just transforming all my emotes to webm and loading them up locally but thank you anyways mopoloL if i wasn't started on the webm stuff last night i would've went with your solution @swift bough

rotund pivot
#

ayyybuHUHH so you’re gonna have to update everything manually once the set gets changed?

obtuse raft
#

yeah dalle_tired

crimson sleet
obtuse raft
#

with a script but yea

swift bough
plush kayak
obtuse raft
plush kayak
#

caching?

obtuse raft
#

sometimes while testing 7tv emotes stopped loading

plush kayak
#

it doesn't work btw

obtuse raft
#

also helps with corss isues

#

what doesn't

plush kayak
#

like

#

some of these

#

they have an invalid name

#

you should not make those files by name

obtuse raft
#

yeah the ones that start with : dont work because the files weren't saved yeah

plush kayak
#

u should do it by id

#

and then just save a map from id to image or smth

#

also that mouse model WAYTOODANK

obtuse raft
#

yeah i thought about it, they're saved with different names and i could implement them but i just yolod it since its just for me and hopefuly the creator of twitch-chat-emotes will fix 7tv soon

obtuse raft
#

its honestly low poly

plush kayak
#

it looks so tall

#

not very ergonomic

obtuse raft
#

ooo LULE

#

he can't reach it with his little arms either

plush kayak
#

also idk what cors issues you're talking about

obtuse raft
plush kayak
#

I've never had cors problems with 7tv

#

it's supposed to be publicly available to everyone

obtuse raft
#

when i was making https://mopo.lol i wanted to add 7tv to the overlay and i was facing cors issues when using js to load them

#

right now it's useless since we're loading them locally but yeah LULE

plush kayak
#

were you using fetch correctly

obtuse raft
#

if u can do it directly then i must've been doing something wrong

#

i believe if you're doing a static website you need a proxy otherwise you face corss issues

swift bough
#

the more important question here is why is the frog furry elisHmm

obtuse raft
#

i took inspo from heydoubleu’s frog

#

I didn’t make the model though

bold kettle
#

How do I now fetch the special personal emote sets? I used to query the gql for the user and get the entitled emote_sets but the special ones aren't in there anymore like nnys or the sub event one

swift bough
bold kettle
#

I can't find where you're supposed to even see that a user has the special ones now

swift bough
#

maybe it's been removed? can u find a user that has a special set on the website?

bold kettle
#

I have them xdd

#

It's definitely been removed from that endpoint, didn't know if they exist somewhere else now. Chatterino still is able to see them. Maybe only presence has them now?

#

I never looked into how presence works

swift bough
bold kettle
#

Like I said, they still work in Chatterino so clearly they are able to be grabbed somehow but fuck if I know

swift bough
#

Danki i dont even see them on chatterino (v2.5.1)

#

weird

bold kettle
#

well that's the wrong chatterino version xdd

#

you need chatterino7

swift bough
#

oh

stuck oasis
#

you are making a chat overlay right?

bold kettle
#

ye

#

And this all worked before the latest api/backend update

stuck oasis
#

honestly you could just assume everyone has them the odds people use them that don't have them is really low, they are rarely used anyway (at least where im around) alternatively you could also check for for the badges that where delivered with the emote sets

#

at least i think they both delivered with badges

bold kettle
#

I never thought of checking for the badges PepoG

#

But

#

also

#

I can't even find those emote sets anywhere now

#

I would still need them to give the emotes xdd

stuck oasis
#

oh wait

#

true

bold kettle
#

And that's not very future proof either

stuck oasis
#

yeah

swift bough
#

if i had to guess you'd prob have to somehow find out how eventapi works and see if that's where that info is coming from if

bold kettle
#

afaik eventapi just transmits when emote sets are changed not just when someone has a set. I already use eventapi to get emote set changes, emote additions/renames/deletions etc.

swift bough
#

also the current gql implementation seems to just completely ignore the entitled argument on the emote set query sdd

bold kettle
#

hmm

#

so they broke it then xdd

swift bough
#

open an issue for it ig doid

bold kettle
#

I barely know how to read this cause I don't know rust

swift bough
#

the function receives an optional argument of type bool but just doesnt do anything with it

bold kettle
swift bough
swift bough
#

ngl, i think it might be coming from the eventapi

stuck oasis
#

i dont care enough to decipher vue but i think the two promotional sets are hard coded in the extension, no idea how it figuers out who has them

swift bough
#

that's where info of chatters' personal emote sets come from

#

wade

#

the plot thickens..........

bold kettle
#

hmm

#

where is troy when you need him

swift bough
#

i think lennart is the one doing the api rn if

bold kettle
pulsar iris
bold kettle
#

oh

#

I should definitely go bug him during stream Clueless

pulsar iris
#

Yes

stuck oasis
#

just do it

#

it should be fine tbh

pulsar iris
#

That's the best way to get whatever answer you need I think

swift bough
#

what did he say Pause

bold kettle
#

he said he'll check after he's done with what he's doing

stuck oasis
#

they probably fucked it up somehow but i wonder how the extension and chatterino checks if a user has it

swift bough
#

if i had to guess, the culprit is probably the unused entitled parameter on the emote_set gql query if

#

and the fact that chatterino2 doesnt see them but chatterino7 does is some pretty strong evidence that the actual info on whether some user has it or not is coming from the eventapi

#

cuz chatterino2 doesnt check personal emotes sets and shit like that if

bold kettle
#

well chatterino2 never had 7tv personal emote sets or paints

swift bough
#

yea exactly

bold kettle
#

But yes the official clients determine these things through the presence system

stuck oasis
#

extension and chatterino use eventapi ThumbsUp

swift bough
#

is it possible for an emote to keep its id but also have its contents changed catAsk

#

or does it get a new ID if it gets renamed

paper token
swift bough
#

but if the emote uploader renames it, what happens to channels that had it added but not aliased

paper token
swift bough
#

and it keeps the same ID?

rotund pivot
#

yes

swift bough
#

ok ty for the info elisLove

oak hawk
#

Some people coming in my chat saying they can edit the NNYS emotes, don't know if its a visual bug or they can actually do it

rotund pivot
#

edit how ayyybuWhar

oak hawk
#

This is the prints they sent

rotund pivot
paper token
#

that's just aliasing though, right?

raven cloak
#

Hey I made an app for Android that converts 7TV emotes to WhatsApp stickers (free/no ads). It is currently in the closed testing phase, so I need 20 people to test it so I can publish it on Play Store.

If you're interested, you just need to do these following steps:

First you will need to join this Google group. Make sure to connect your Google account: https://groups.google.com/g/apptesterforemoter

Then you can download the app from the Play Store with the same Google account: https://play.google.com/store/apps/details?id=captainsauerland.emotes_to_stickers

I you really want to help me out, don't uninstall my app immediately and maybe consider writing a small review. Only then Google will count you as an active tester. But of course it's also okay if you just want to take a look at it FeelsOkayMan

stuck oasis
#

actually fucking huge

crimson sleet
rancid tulip
#

🧁

#

🍕

#

🍔

#

🥫

#

Anyways when is new frontend coming out for 7tv

#

?

stuck oasis
#

when its done

rancid tulip
#

Hmm idk whats the hold up, it looks finished and looks great

#

I guess Troy knows when its ready

#

forsenWaiting all we can do is wait

#

would be nice to get some updates on the website from time to time like maybe patch notes posted in #news

#

I aint checking github forsenWaiting

stuck oasis
#

there is so much missing

#

atleast on 10tv.app

rigid narwhal
rancid tulip
rigid narwhal
#

nah, but seriously, it's Lennart's test instance during development

rotund pivot
#

im currently fixing a bunch of stuff in a new figma file ayyybuUmm

#

hope lennart doesnt kill me

#

but its a change for the better

rigid narwhal
#

Don't worry, it's gonna be fine Clue
I already liked your previous design, so I'm sure the changed one is gonna be even better peepoHappy

rotund pivot
#

hopefully i can finish everything by the end of this week

#

including new pages that were missing from the previous file

rancid tulip
raven cloak
stuck oasis
rotund pivot
#

there used to be next.7tv.dev or something

sudden gust
vagrant lion
ionic yarrow
rancid tulip
#

very nice

vast adder
zinc aspen
#

holy shit

#

this shit sleek as hell

#

boowomp

cloud ingot
zinc aspen
#

crazy of you to assume i use a chromium browser

cloud ingot
zinc aspen
#

yeag

#

is there no button to accept cookies or smth

#

how do i tell firefox that yes i want cookies from this site

zinc aspen
#

😍💖

sudden gust
sudden gust
zinc aspen
#

currently on a bus lol

zinc aspen
#

brain stupid sometimes

zinc aspen
#

@sudden gust worked on my laptop

#

also as a general recommendation, if this could be an svg of the same thing that'd look better prob cuz as-is it looks kinda shitty

sudden gust
#

it's a placeholder

zinc aspen
#

i mean i guess that makes sense

#

lol

zinc aspen
#

@sudden gust doesn't work on my main pc

#

just now tested

#

setup is linux with firefox

sudden gust
zinc aspen
#

sure gimme a bit

quick ibex
#

wonder if its related to that?

sudden gust
#

I don't think it is. It's not a cross site cookie and it works fine for me in strict mode

sudden gust
#

nvm

#

It is because of that

#

I'm fixing it

sudden gust
#

@zinc aspen Login should be fixed

zinc aspen
#

yep works

#

@sudden gust

#

sorry for not sending anything i kinda forgor

rotund gale
#

I'm sorry but I've already searched all channels (only if I missed something) and I can't find any information about who I should contact correctly or to be part of the Translation or Devs team. If I wrote on the wrong channel, first of all, I apologized, but I just wanted help and therefore be helpful,
Best regards,

rotund pivot
#

no translations needed atm

#

there is a new site getting released

rotund gale
#

that sounds perfect!

#

i didn't knew about this discord just arrived by a good "mistake" (bless) and i didn't want to DM any high role with no permission or even @

wide frigate
#

I'm developing an app that downloads all emotes from a specific emote set on 7TV.

What variable should I add to my existing code to dynamically change the color of the emoteSetCreator text so it matches the color style of the creator's name as provided by the 7TV API?

I want the "Created by: Reapax" text to correctly display the creator's name in the right color.

ionic yarrow
rancid tulip
#

Seems like when I remove all 5 of my personal emotes and add 3 it says that I have 5 in total and cant add anymore

#

bug detected

#

says "Personal emotes 5/5"

#

and on chatterino I have 6 personal emotes

#

2 same and the onces I removed dont go away

#

I readded same emote "GYATT" emote. Now I have two of them

#

Thinkge so if im right, this can let me have 10 personal emotes I can use

#

LULE cosmetic deletion

stuck oasis
#

completely unrelated hate and i dont want to be mean but your personal emotes are awful

plush kayak
#

I am are not any better

#

Pepega⌨️

pulsar iris
#

Shut up

rancid tulip
#

rarely use them

#

just reporting the bug thats all lil bro

unborn wedge
#

we all have the right to choose our own personal emotes and nobody have teh right to make fun about it!

paper token
#

personal-emote shaming BASED

rancid tulip
#

who pinged me

#

mods get them

unborn wedge
paper token
rancid tulip
#

I got roasted by a sonic fan

unborn wedge
#

im sorry

stuck oasis
rancid tulip
pulsar iris
#

Personal emote review

paper token
#

2/10

rancid tulip
stuck oasis
#

honestly

#

8/10

#

anson urs is a 3/10 way too try hard

#

stop tryharding to be a baj

pulsar iris
#

damn get his ass

paper token
#

it was to use the emotes I wanted to in xqc's chat

plush kayak
paper token
#

back before he had some of them

#

it's been a few years at least

pulsar iris
#

cope harder

stuck oasis
forest swift
#

rate mine kek

plush kayak
#

better

rigid narwhal
plush kayak
#

best

rotund pivot
rigid narwhal
#

forsenGasp static emote guy with non static emotes as personals

pulsar iris
#

admin slot abuse

rotund pivot
#

i dont even use them

tired arch
#

1000 personal emotes SHOCK

quick spear
full owl
#

@rotund pivot when is the new website coming out i cant sign in while banned on twitch

rotund pivot
#

idk

#

how is that gonna help anyway

full owl
forest swift
#

right click on sign in

full owl
#

how long thats been there???

forest swift
#

since this site launched

full owl
vagrant lion
sharp robin
fluid osprey
#

Why am I not getting new paints even tho I subscribed ?

topaz crown
fluid osprey
#

aren't those the newest ?

topaz crown
#

yes but they haven't been distributed quite yet

#

i dont have them either

fluid osprey
#

oh so the problem isn't from me

#

thank you

topaz crown
#

mhm if you dont have them in a couple days then ask again

fluid osprey
#

OK alright

rotund pivot
#

No they should be instant now

vagrant lion
#

but its not madashell

pulsar iris
#

i do not have them yet

fluid osprey
#

same here

bitter lynx
#

didn’t give it to anyone?bro

rotund pivot
#

either it didnt run yet

#

or something is bonked

pulsar iris
#

they are given once you reactivate sub

sudden gust
#

The job hasnt run yet

#

I manually triggered it

#

should be done

fluid osprey
#

yeah its fixed thank you

raven cloak
rigid narwhal
raven cloak
rigid narwhal
fierce idol
rancid tulip
cursive saffron
topaz crown
#

fortnite OMEGALUL 🇷 🇹 🇳 🇮 🇹 📧

quick spear
#

oldest fortnite player

sudden gust
#

@raven cloak Hi I just saw your 7tv emote to whatsapp sticker app. I really like it but I was wondering why you don't show the emote sets as sticker packs instead of letting the user make their own local packs.

#

I guess they are too big?

raven cloak
cursive saffron
solar bear
#

orgins

plush kayak
mortal fossilBOT
#

elia_uuh could have been a bit more productive today: 🛏 💤 (17h, 53m ago)

rigid narwhal
#

does it only work for the launchpad or do other midi controllers with pads also work?

plush kayak
#

only launchpad

#

but I think all launchpads will work

rigid narwhal
#

forsenOkay still very nice

paper token
plush kayak
#

u and your sly comments

#

tssk

rigid narwhal
#

forsenHmm I think if you extend the functionality a bit, give it some nice UI, maybe make it work with the most common midi controllers, this could actually get a ton of usage

plush kayak
formal siren
#

Do we have any plan/discussion on #1114?

paper token
#

Luckily these links are always dead by the time they post them

#

ellie you're playing a risky game here

tired arch
#

@ everyone LOL

#

person named everyone: SHOCKED

rigid narwhal
forest swift
#

@plush kayak ForsenDisappointedInYou

#

plz dont do that

tired arch
#

discord mods doing their job PagMan

forest swift
frosty bronze
formal siren
pearl ore
#

Can someone please explain to me why Ctrl+F doesn't scroll to the search result on the emote-set page? ReallyMad

sullen edge
pearl ore
#

Very annoying and bad. What can we do with this?

sullen edge
#

i dont think you can

#

what you can do is zoom out like crazy

#

if you do this, you will actually see all results, otherwise ctrl+f only takes into account current display

#

or you can just f12 and then ctrl+f

#

not a great workaround but the only one i know of

pearl ore
ionic yarrow
sullen edge
pulsar iris
#

Omg real

#

Visual dupe bug

#

Lol

pearl ore
pulsar iris
#

I'm on mobile using desktop view

#

Because for whatever reason I couldn't get to my profile on mobile view

ashen fern
#

is it possible to see how many ppl have a specific paint?

#

would be interesting to see

rotund aspen
#

I think potatbotat is collecting this data PepoThink

sullen edge
#

ye but it might be on the basis of where it actually sees someone using it rather own it

topaz crown
fierce idol
mystic ember
#

who wants to bet with me?

#

Nobody

vital walrus
#

hello! could somebody link me up with details/docs for 7tv.io and maybe how to get an auth token

mystic ember
#

let me know where i can find smart and talented people on discord.

rotund aspen
#

what do you want to do tho FeelsDankMan

vital walrus
#

Chan point > Add an emote

rotund aspen
#

you'll need gql for that, you can play with it here https://7tv.io/v3/gql/playground or just open network tab on 7tv.app, try to add an emote and see how the request works

vital walrus
#

thanks

violet flint
#

what are the chances we can start doing 7tv recaps BreadHmm

full owl
plush kayak
#

SHU TTHE HELL UPpPPPP

swift bough
#

latest firefox version erm

ionic yarrow
#

just enable it and it works fine

swift bough
#

that's not the point tho why did it get disabled

ionic yarrow
rotund pivot
#

probably beacause of the v3 manifest

#

cause it relies on remotely hosted code for the updates

swift bough
#

wade does that matter for firefox?

warm yacht
#

Firefox isn't allowing remotely hosted content anymore for quite some time

#

that's what got the FFZ addon removed from their addon store like... over a year ago I think?

#

Stendec had it self hosted on the FFZ site, but that was not working at some point anymore either

so now the FFZ addon store version has everything bundled (manifest v3 compliant)

static gorge
#

Don't know if this is useful or not... FFZ admin posted this hour or so ago.

pulsar iris
#

mozilla needs to jump off a bridge

alpine echo
sudden gust
#

As far as I know Google doesn't allow it either but is not enforcing it. But Mozilla seems to care about their users.

full owl
#

@warm yacht

warm yacht
#

@full owl

full owl
#

Are you the new person they talking about

warm yacht
#

wdym new person

ionic yarrow
#

no, he's not

warm yacht
sudden gust
#

Wait I thought this is about the policy violation and not them not knowing how to build it

#

I'm confused

#

Did they reject ffz because of the remote code loading or not?

warm yacht
#

not because of remote loading, no

#

but it's just that Mozilla's team is pretty stupid when it comes to this

#

when they can't even get an extension to build properly on their own machine, even when given build instructions, or just comparing the hash with what's in the Github CI...

#

I don't have high hopes for their team tbh

sullen edge
#

so different reason from ffz, just coincidental timing?

warm yacht
#

yeah seems coincidental

sudden gust
#

But doesn't ffz do the same with remote code?

warm yacht
#

no?

#

because of the v3 manifest requirements it's all self contained

#

there's a nightly build on Chrome but that's only updated when a change to the main or addons repo happens, then it runs an action to build and send it to the Chrome webstore for review

#

the only one that still does remote code loading is the userscript version, and that won't change from my understanding

sullen edge
warm yacht
#

Firefox supports manifest v3

#

So at that point it doesn't make sense to have 2 separate builds

#

especially when Mozilla doesn't allow remote code loading

sullen edge
#

i thought the whole point of mozilla is that it's not chromium based and it doesn't need to follow google's policy on trying to kill adblockers

pulsar iris
#

Mozilla is Googles bitch

#

They need their default search money

#

Anything to make them happy

warm yacht
#

I've found this from earlier this year

jagged lava
paper token
#

yeah the issue is when they remove support for v2

#

giving users the choice to use a "safer" v3 extension and a "more powerful" v2 extension is a good thing

pulsar iris
#

firelox isn't deprecating v2
Yet

cunning anchor
# sullen edge

7TV Nightly (Self-Distributed) is restricted for violating Mozilla policies why

naive depot
#

I noticed in the user search, exact matches are not on top

vagrant lion
#

use quote mark

naive depot
#

👍 thanks

#

though I don't really think that's a practical solution

short sand
#

Especially if there's no context or tooltip referencing the different search functions/dorks you can use

paper token
#

well that's needed, but it should still show exact matches at the top

warm yacht
#

yeah if there's an exact match it should show that at the top, then other ones through fuzzy search or what's being used there imo

vital crater
# sullen edge

ive seen this happening a lot with other extension devs and some are choosing to not make firefox versions because of it. not looking good for firefoxbros

wide frigate
#

why was the new website dropped before it was even close to being done? Clueless

wide frigate
alpine echo
#

tbf, there are good reasons for not doing remote code like that

#

wasnt there that one js lib recently that had some problem

plush kayak
#

least vague message of 2024

#

congrats 🏆

sudden gust
wide frigate
#

I mean animated emotes are not even animated until u go into the specific emote for example ApuCry
I think there were some more things I noticed that didnt work as intended. I will take a look and come back reapaxL

rotund pivot
#

change the motion settings

#

In your profile settings

wide frigate
#

Well, if that's the case, it should be set to "on" by default imo

rotund pivot
#

ayyybuWhar yeah idk why it’s like that

wide frigate
#

I changed it to disabled but they are still not animated

#

Also, one thing I thought about.

The search functionality at the top can be a bit unclear since it displays results for both emotes and users simultaneously. While this is useful, it would be more intuitive if users had the option to click on "Users" or "Emotes" to navigate to dedicated pages showing results specifically for either users or emotes.

rotund pivot
#

yeah that’s what I planned initially

wide frigate
#

So that is gonna be a thing? or did yall scratch that idea?

rotund pivot
#

Idk I’m not in charge of implementing it

wide frigate
#

That design looks really clean, but I think it can stay pretty much as simple as it is now. Just adding the option to click on "Users" or "Emotes" to go to their own pages would make it more useful without making it too complicated.

#

Some things from the idea could actually be good to have tho..
but like, the "Settings" part could probably just be removed from there.

also, if you select "Emotes," it would be nice to have an endless scroll instead of only showing 3-5 emotes at a time.

#

this part could be removed from it:

#

as the settings button is already up there

sudden gust
rotund pivot
#

well it had something similar to it

#

Not exactly this one

sudden gust
#

I will look into the animated emotes problem

rotund pivot
wide frigate
rotund pivot
wide frigate
rigid narwhal
#

embeds on discord also seem to be broken

sudden gust
forest swift
wide frigate
rotund pivot
wide frigate
#

no?

rotund pivot
#

well you didn’t have to illustrate it

#

ayyybuWhar I know what you meant

wide frigate
#

i mean ye, there are alot of things you dont have to do
but i thought it would spark some more ideas out of illustrating it

plush kayak
mortal fossilBOT
#

elia_uuh made up their mind about going to bed: (@)everyone 💤 (4m, 30s ago)

plush kayak
#

like for when u press enter

#

I was trying to search for emotes and I kept trying to press enter but the ACTUAL search bar was on the left

#

$gn

mortal fossilBOT
#

elia_uuh is now sleeping: 🛏 💤

pulsar iris
#

$cookie

mortal fossilBOT
#

7jeo, Your daily cookie: You are very talented in many ways.

fluid osprey
#

is this issue known ? Okayge

south cairn
#

u change cosmetic too fast

fluid osprey
#

yeah but it won't go

south cairn
#

u gotta wait some

#

like an hr or smth

fluid osprey
#

one whole hour

#

damn

sudden gust
south cairn
#

i got that yday i tried to look for good badge/paint combo buh

rotund pivot
#

kinda makes it impossible to gift subs because of this ayyybuUmm

vagrant lion
sudden gust
fluid osprey
#

was it like this before or just now on the new website

#

it just doesnt make sense to get timedout just because I was trying paints

rotund pivot
#

well it automatically updates it for every user that can see your cosmetics

#

thats why there is a limit cause youre spamming requests

#

the only logical way to go around it is to add a confirm button but idk

pulsar iris
#

Or just do it slower

fluid osprey
#

a confirm button would be great

sudden gust
rotund pivot
#

its ok

brisk arch
#

can we gift on the old site and get the xmas badge until the store graphql badge error is fixed on the new site?

brisk arch
rancid tulip
#

is there an alert we need in the "Activity" that shows when your emote is trending? Or we already have it

#

that shows "Congrats, your emote is trending top #4" for example

rotund pivot
#

notifications were planned

#

but dont exist yet

paper token
#

use this to try out combos

#

no rate limit

south cairn
#

yeayea ik

#

im using that too but was lazy

#

i thought i could do it on the 7tv website

zinc aspen
#

fix this

#

unironically important to show the correct price for a region since there ARE idiots who will somehow manage to miss the € and think its cheaper/more expensive than it actually is

sudden gust
#

It has always been in euros

#

But yeah it would make sense

zinc aspen
#

helps to better make informed decisions and reduce confusion

paper token
zinc aspen
#

like input price and specified region to convert to, get back localized price

paper token
zinc aspen
#

if anything you can probably just use google api for this considering there's a built in function for that in google search

zinc aspen
plush kayak
zinc aspen
#

hell maybe even paypal and stripe have things for this already

plush kayak
#

maybe they should implement a working website first

zinc aspen
plush kayak
zinc aspen
#

fym big mac support

plush kayak
#

like where the price is based on the average wage or whatever

#

so it's cheaper in 3rd world countries

zinc aspen
#

huh

#

neat

plush kayak
#

I read that somewhere and they called it big mac pricing because it's available everywhere but it's not the same price if you convert it back to $

#

idk if that's actually what it's called tho

paper token
#

very interesting

#

he has a subscription for sure

#

it's from the NNYS code

lyric cosmos
#
async function fetchFFZBadge(username) {
  try {
    const response = await fetch(
      `https://api.frankerfacez.com/v1/user/${username.toLowerCase()}`
    );
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }
    const data = await response.json();

    if (data.user?.badges && data.user.badges.length > 0) {
      const badgeId = data.user.badges[0];
      const badge = data.badges[badgeId];

      if (badge) {
        return {
          url: badge.urls["4"],
          color: badge.color,
        };
      }
    }

    return null;
  } catch (error) {
    console.error("Error fetching FFZ badge:", error);
    return null;
  }
}

async function twitchIdTo7tvId(twitchId) {
  const url = `https://7tv.io/v3/users/twitch/${twitchId}`;

  try {
    const response = await fetch(url);

    if (!response.ok) {
      if (response.status === 404) {
        console.log(`User with Twitch ID ${twitchId} not found on 7TV.`);
        return null;
      }
      throw new Error(`HTTP error! status: ${response.status}`);
    }

    const data = await response.json();
    if (!data.user.roles.includes("6076a86b09a4c63a38ebe801")) return null;
    return data.user.id; // This is the 7TV user ID
  } catch (error) {
    console.error("Error fetching 7TV user data:", error);
    return null;
  }
}

async function getSelected7tvBadge(userId) {
  const url = "https://7tv.io/v3/gql";
  const query = `
    query GetUserCosmetics($id: ObjectID!) {
      user(id: $id) {
        id
        cosmetics {
          id
          kind
          selected
          __typename
        }
        __typename
      }
    }
  `;

  const variables = { id: userId };

  try {
    const response = await fetch(url, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        operationName: "GetUserCosmetics",
        variables: variables,
        query: query,
      }),
    });

    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }

    const data = await response.json();

    if (data.errors) {
      throw new Error(`GraphQL Error: ${data.errors[0].message}`);
    }

    const selectedBadge = data.data.user.cosmetics
      .reverse()
      .find((cosmetic) => cosmetic.kind === "BADGE" && cosmetic.selected);

    return selectedBadge ? selectedBadge.id : null;
  } catch (error) {
    console.error("Error fetching 7TV badge:", error);
    return null;
  }
}

// Helper function to fetch FFZ badge with timeout
function fetchFFZBadgeWithTimeout(username) {
  return Promise.race([
    fetchFFZBadge(username),
    new Promise((_, reject) =>
      setTimeout(
        () => reject(new Error("FFZ badge fetch timeout")),
        BADGE_FETCH_TIMEOUT
      )
    ),
  ])
    .then((badge) => {
      if (badge) {
        return `<img class="badge" src="${badge.url}" style="background-color: ${badge.color}; border-radius: 2px;" />`;
      }
      return null;
    })
    .catch(() => null);
}

// Helper function to fetch 7TV badge with timeout
async function fetch7TVBadgeWithTimeout(senderId) {
  try {
    const seventvId = await Promise.race([
      twitchIdTo7tvId(senderId),
      new Promise((_, reject) =>
        setTimeout(
          () => reject(new Error("7TV ID fetch timeout")),
          BADGE_FETCH_TIMEOUT
        )
      ),
    ]);

    if (!seventvId) return null;

    const seventvBadge = await Promise.race([
      getSelected7tvBadge(seventvId),
      new Promise((_, reject) =>
        setTimeout(
          () => reject(new Error("7TV badge fetch timeout")),
          BADGE_FETCH_TIMEOUT
        )
      ),
    ]);

    return seventvBadge
      ? `<img class="badge" src="https://cdn.7tv.app/badge/${seventvBadge}/3x" />`
      : null;
  } catch {
    return null;
  }
}```
#

I'm looking to fix my chat overlay, It previously allowed 7TV integration. The developer started ignoring me....... I've 0 idea what to do to update my chat overlay to work properly. Above is the code for the last version which doesn't show the 7TV badges. If anyone can help It'd be appreciated and I can pay at a later date if you assist. ❤️

rotund aspen
#

what's the error

#

endpoints look fine buh

lyric cosmos
#

It doesn't display the badges, it did before

rotund aspen
#

i mean in console

lyric cosmos
#

That's the only error

#

It hasn't shown since the whole thing got updated

rotund aspen
#

eShrug doesn't seem like an issue with these functions you gave

swift bough
#

is this chat overlay open source perchance

lyric cosmos
#

nah

#

custom coded by a dev

lyric cosmos
#

I don't rlly wanna drop it here

#

nvm - the whole things fuh ked

#

it doesn't show FFZ badges either

#

hm

#

if anyones good with chat overlays and can help me fix this I'll pay you some $$, I'll dm the code if you can help I don't wanna drop the full code here

swift bough
#

i can prob help u but not until like tuesday (exams)

lyric cosmos
#

alr bet, if anyone can help sooner lmk but if not thats sweet

patent wing
#

it looks like the code is implemented in a way that is querying the 7tv profile of every chatter instead of using the eventapi

lyric cosmos
patent wing
#

it's just a not so good way of getting badges of chatters

lyric cosmos
#

I just pay people to do stuff for me icl

#

if not it's no worries at all

patent wing
#

can't really tell from that screenshot, maybe scroll up in the console. or check network fetch requests are normal if there even is any

lyric cosmos
#

on first load

#

Network tab trying to fetch it but can't

#

so is FFZ

#

unable to fetch correctly tho

#

Not showing the badges here

patent wing
#

those fetch requests look fine, and images are being loaded. confused where the problem is

#

are you not seeing those loaded images "badges"

lyric cosmos
#

wdym sorry

lyric cosmos
patent wing
#

well the network request is showing the image being loaded, so it is being loaded somewhere

lyric cosmos
#

I don't really understand half of this tbh

patent wing
#

I mean I don't even see the problem yet, what does a chat message look like?

#

is it missing the badges which are somehow somewhere being loaded

lyric cosmos
#

My FFZ is now loading

#

the 7tv isn't however

#

that's the actual chat msg

patent wing
#

ah ok, so just the 7tv one is missing. makes sense it's not showing in the netowork tab

lyric cosmos
#

yea

#

does that help you understand the issue? I can provide you with whatever you need just lmk

patent wing
#

Hmm what is BADGE_FETCH_TIMEOUT set to

patent wing
#

change it something higher like 10000 and see if that fixes anything

lyric cosmos
#

nope still nothing

patent wing
#

wait I just realised there is no gql request being made at all in the network

lyric cosmos
#

I'm not sure what that means but it sounds bad

swift bough
#

@lyric cosmos does that error in ur console appear every time u send a message

lyric cosmos
#

The console doesn't move when I sent a message

swift bough
#

when does it show up

lyric cosmos
#

when I first open the console

swift bough
#

is it there also before sending any messages

lyric cosmos
#

yes

swift bough
#

ok

lyric cosmos
#

I think Martin has realised the issue idk tho

#

he's busy I think rn

patent wing
#

ah i see the problem

#

this single line if (!data.user.roles.includes("6076a86b09a4c63a38ebe801")) return null; not sure why it is doing that

#

but all the 7tv ids have been updated

lyric cosmos
#

oh

#

so remove it?

patent wing
#

yea

lyric cosmos
#

let me try

#

cooked hard

patent wing
lyric cosmos
#

tysm

#

can I pay you for the help?

swift bough
#

holyyy

patent wing
#

no need Okay

lyric cosmos
#

tysm bro

#

you've helped a ton haha

#

@patent wing Was that line just basically telling it to not process the badge?

patent wing
#

it was checking if the user had a certain role, not sure what that role is since the ids all have changed, probably the default user role or something. and if it did not have that it would just stop

lyric cosmos
#

no idea why the dev added that then lol

patent wing
#

yeah not sure either

swift bough
#

could also be the subscriber role

#

since non-subscribers dont have badges

patent wing
#

hesRight yea could be

swift bough
#

oh wait i know

lyric cosmos
# patent wing yeah not sure either

Do you know any way I could make my chat when people change their badge it'll update? I have to refresh the overlay for it to update peoples badges

swift bough
#

i think u might be able to have a selected badge without being subbed

#

and the api returns that

patent wing
swift bough
#

so that fix may actually break things somewhat gulp

lyric cosmos
patent wing
#

hmm actually true

lyric cosmos
#

how would I fix this then

#

or how would I test

swift bough
#

actually nvm i just tested it with someone i know isnt's subbed and that had selected cosmetics at some point

#

it should be fine

#

just disregard what i said okak

lyric cosmos
#

thanks dude

#

@patent wing Is that switch to eventapi hard?

swift bough
#

those who know...

patent wing
#

uh well it would be a change that would be different to how everything is already set up in your code

#

you gotta use websockets of server side events instead of normal http get requests

#

also the updated ID for subscriber is 01F37R3RFR0000K96678WEQT01 if there is actually any problem with what was said above but not sure if that problem is a thing ^

swift bough
#

also eventapi is like completely undocumented

lyric cosmos
patent wing
#

yeah probably don't need it maybe you do not sure

lyric cosmos
#

if (!data.user.roles.includes("01F37R3RFR0000K96678WEQT01 ")) return null;

#

I added that back and it doesn't show the badge anymore

#

I'll just leave it out

patent wing
#

theres a added space at the end of the id

lyric cosmos
#

oh shit

#

lmfao that fixed it

#

im an idiot

lyric cosmos
swift bough
#

sus tf is this 7tv role for

lyric cosmos
#

no idea

#

lmfao

swift bough
#

sus freaky...

patent wing
lyric cosmos
vagrant lion
#

role* whatever

lyric cosmos
#

why do you know that

#

lmfao

swift bough
vagrant lion
#

i was here early Pointless

lyric cosmos
#

ohh

#

nice

#

lol

#

@patent wing Is there a cmd I could make that could update their badge

topaz crown
lyric cosmos
#

hi ryan

topaz crown
lyric cosmos
#

ryan in ur bot what does the #presense do

patent wing
pulsar iris
lyric cosmos
pulsar iris
#

You could make a command that refreshes the source kek

topaz crown
lyric cosmos
#

oh

topaz crown
#

the extension and chatterino do this on a 10s or so cooldown

lyric cosmos
pulsar iris
#

Yeah it's probably better to just have it use the event api

lyric cosmos
#

I've no idea how to do that lmfao I'm an idiot

pulsar iris
#

That would also allow for live emote update

lyric cosmos
#

oh that'd be dope

pulsar iris
#

It's a different way to get user cosmetics and emotes

lyric cosmos
#

you know anyone I could pay to do it

pulsar iris
#

Well there's already a bunch of chat overlays that use it

lyric cosmos
#

I've no idea what to change or anything, I'd end up fucking up the entire thing

pulsar iris
#

Yeah I guess

#

If all you really want different is the background thing

#

Im sure you could find someone to help with that

lyric cosmos
#

I'm just looking for the auto emote update & auto emote update

pulsar iris
#

This is the most popular chat overlays with 7tv

lyric cosmos
#

ik ik

#

but I mean with my custom overlay

pulsar iris
#

Yeah I mean you could probably just ask is2511 to help with that

lyric cosmos
#

@pearl ore

pulsar iris
#

Instead of trying to build one from scratch

lyric cosmos
#

is he the only one who could help

pulsar iris
#

No

#

It's all open source

#

Anyone willing could help you

#

Idk how to actually do anything with code but I think it's just css add background around text

#

Gpt could do it probably OMEGADANCEBUTFAST

lyric cosmos
#

my chat overlay is like 1k lines

#

i cant put it into chat gpt lol

pulsar iris
#

Oh

#

💀

lyric cosmos
#

it has alot of features lmfao

safe oxide
lyric cosmos
#

that's a thing

#

uuh

safe oxide
#

chat gpt can read files

lyric cosmos
#

wait wtf 💀

#

why you smart asf

rotund aspen
pulsar iris
#

Yeah with v4 you need sub to use everything I think.

safe oxide
lyric cosmos
#

I don't think so

#

I've seen people with beta tester without a sub

rotund aspen
#

yeah because it's non-sub cosmetic

pulsar iris
#

Yeah beta tester was nonsub

rotund aspen
#

for badges translator isn't too for example

pulsar iris
#

But I think now that the new system is in place its not

lyric cosmos
#
const WebSocket = require('ws');

// Establish WebSocket connection
const socket = new WebSocket('wss://event.7tv.io/v1');

socket.on('open', () => {
  console.log('Connected to 7TV Event API');

  // Subscribe to events for a specific Twitch user
  const twitchUserId = 'YOUR_TWITCH_USER_ID'; // Replace with the Twitch user ID
  const subscribeMessage = {
    op: 35, // Subscribe operation
    d: {
      type: "cosmetics.update",
      condition: {
        broadcaster_id: twitchUserId,
      },
    },
  };

  socket.send(JSON.stringify(subscribeMessage));
});

socket.on('message', (data) => {
  const message = JSON.parse(data);
  
  if (message.op === 0) {
    console.log('Heartbeat received');
  } else if (message.op === 36) {
    console.log('Event received:', message.d);

    if (message.d.type === 'cosmetics.update') {
      handleCosmeticUpdate(message.d);
    }
  }
});

socket.on('close', () => {
  console.log('Disconnected from 7TV Event API');
});

socket.on('error', (error) => {
  console.error('WebSocket error:', error);
});

// Handle cosmetic update events
function handleCosmeticUpdate(data) {
  console.log('Updated cosmetics:', data);
  // Update the badge or emote UI based on the received data
}

function handleCosmeticUpdate(data) {
  const { user_id, cosmetics } = data;
  
  // Extract badge details
  const badge = cosmetics.find((cosmetic) => cosmetic.kind === "BADGE" && cosmetic.selected);

  if (badge) {
    console.log(`User ${user_id} has a new selected badge:`, badge.id);
    updateUIBadge(user_id, badge.id);
  }
}

function updateUIBadge(userId, badgeId) {
  const badgeUrl = `https://cdn.7tv.app/badge/${badgeId}/3x`;
  // Update the DOM or UI element with the new badge
  const badgeElement = document.querySelector(`[data-user-id="${userId}"] .badge`);
  if (badgeElement) {
    badgeElement.src = badgeUrl;
  }
}

pulsar iris
#

Could be wrong

rotund aspen
#

it is still

lyric cosmos
#

gpt gave me that

rotund aspen
#

only sub cosmetics are not returned

#

non-sub ones are still visible

pulsar iris
lyric cosmos
#

@rotund aspen do you understand all this API stuff, like could you move something from GQL to eventapi

rotund aspen
#

I could but I don't have time for that LULE

lyric cosmos
#

oh alr np

#

was gonna ask could I pay u to help me but all g

#

lol

rotund aspen
#

if u want

lyric cosmos
#

is it a big change?

#

or like a few thuings

rotund aspen
#

kinda big

lyric cosmos
#

yea nah I cba then, I'd just break it

#

anyone know that gpt that's like a only coding thing

#

i forgot the name

#

Just posting this here, if anyone knows how to transfer GQL to Event API in a Streamelements overlay, DM me.

Looking to add when a 7tv emote is added it shows up on chat overlay & badges + emotes will update on the overlay as soon as they are added/edit. Can pay just name a reasonable price 🙂

iron gate
#

do you guys take interns? my resume lookin a lil bleak in these trying times SAJ

patent wing
#

why not work on a project

iron gate
#

cuz having 7tv on my resume as work experience would be so cool 😎

patent wing
#

I mean most of 7tv is open source/source available, nothing stopping you from contributing

dusty current
#

I have a 7TV subscription and set up a colored name, but when I send a message in the chat on Kick, my name doesn’t show the color.

tired arch
short sand
#

Few thoughts on the site as of today:

Comments/Issues

General

  • Search field in top nav is a bit confusing especially when browsing the emotes page
    • When I first got on the new layout to search for emotes, I instinctevely went to the first field in my view, and that was the big search bar at top.

Emotes

  • When searching for emotes, the "Top" option doesn't always have the emotes ordered from most to least adds. If you search for "peepoHappy" and open the first 12 emotes, some will be out of order. Same applies to further emotes.
  • When viewing an emote and the Channels section in particular, some users with glowing paints aren't rendered properly because the glow is bigger than the size constraint (https://i.imgur.com/PpAk0nc.png)

Suggestions

General

  • I feel like the previous site had a better idea for searching for users where the user search was pushed to the top right instead, or at least change the tooltip to "Search users" or something along the lines

Emotes

  • Add the ability to show unlisted emotes
  • Add tooltips to the icons on the search and tag fields where hovering over it shows you a list of search options you can use
    • Quotes and shit like that. I have no idea what else you can do - hence requesting this tooltip
  • What is the purpose of "Emotes" nav on the sidebar? Seems unnecessary unless you have other things planned and have it as a placeholder currently.
  • Add "Report" to the right-click context menu on the emote search results
  • When viewing an emote, is there a reason why the addition features are hidden behind sub-menu(s)? If there is no reason, could you please example the emote info button bar? (https://i.imgur.com/jWFHsRc.png)
    • For example: [Add to set, Download, Report]
  • When viewing an emote, add a tooltip over the "Channels" button that will display the actual # of channels that has it added (https://i.imgur.com/2fav4v2.png)
    • Helps to know the exact amount in cases where emotes are added to lots of channels and the number is simply "100K"
pearl ore
#

I was sleeping

plush kayak
pulsar iris
#

Basically he wants to have a chat overlay that looks like this but uses event api

#

Rn it uses gql so no live cosmetic and emote updates

paper token
pearl ore
#

Probably possible on top of ChatIS with lots of CSS. But if you already have your own, integrating the Event API might be easier, at least it would be for me (I'm not a frontend dev)

pulsar iris
#

Seems like its a whole rewrite based on what matin said

#

So idk

pearl ore
pulsar iris
#

I'm not sure but that would be a cool idea

#

I think it's just a general theme

#

@lyric cosmos does the chat overlay use paints as the background colors?

lyric cosmos
pearl ore
#

didn't wanna add that
Cromge

lyric cosmos
pearl ore
#

It would be weird and might break some pants, but would be funny 🤔

pulsar iris
#

Definitely interesting

umbral sandal
#

Hey guys, do you know if there is a way to fetch YouTube live chat messages with all the emotes that users use without being the way of scrapping the messages from the popup url?

zinc aspen
#

ok ok ok

#

weird thing

#

when i download from 7tv

#

download gif

#

the gif works EVERYWHERE except discord emotes

#

if i try to upload the 7tv gif as an emote it gets uploaded as a png???

#

trying to upload this

#

its just the first frame as a static emote

rotund pivot
#

Put it through ezgif first

zinc aspen
#

why does it need to do that

rotund pivot
#

Idk

paper token
#

that's weird

#

it's definitely a gif

#

BUT

rotund pivot
#

I’m just guessing

zinc aspen
#

is the metadata weird or something?

paper token
#

ALSO KIND OF A FEATURE

zinc aspen
paper token
zinc aspen
#

even after putting it thru ezgif

#

i just went to crop -> upload -> crop image (with no alterations) -> download new image

#

its just this one too btw

#

if i try another gif on my machine it works as normal