dotabod / backend

Backend services for dotabod, the popular twitch streamer tool
https://dotabod.com
GNU Affero General Public License v3.0
40 stars 14 forks source link

[Feature Suggestion] Hero names as 7tv emotes/import pack #222

Closed Aluerie closed 1 year ago

Aluerie commented 1 year ago

I actually do not know if it is possible, but just an idea.

Feature for streamers to import ~130 7tv emotes matching hero names (600 emotes after all)

For example. let's say I have a 7tv emote (Marci) and then !np response would like this:

image

While I can add all emotes manually, I guess, it would be interesting universal import idea.

Caveats:

Geczy commented 1 year ago

https://dota2.fandom.com/wiki/Category:Hero_minimap_icons

i didn't have time to upload all hero icons to 7tv, but if someone does this, i can provide a "use hero emotes" button that removes spaces in hero names and assumes you have 7tv emotes all added for heroes

so ocne someone uploads all 130+ hero icons to 7tv, let me know and i will reopen this issue to work on it. the emotes in 7tv must be live for at least a week before i work on this ( to make sure 7tv doesn't remove them later )

Aluerie commented 1 year ago

But there is 7tv API, and images are on steam cdn.

Well, okay, I will actually try to automate upload emotes this evening.

dankYoff commented 1 year ago

@Aluerie I basically downloaded all the images, I just need to add them to 7tv fixed_hero_name.zip add _ in hero names.zip

Aluerie commented 1 year ago

you probably should add them under bracketed names, i.e. (Marci) bcs current !np command uses round-bracketed names. so it would be less work for techleed (just strip spaces or replace with _). And just uploading them as Marci will cause THIS THAT THESE WHAT situations.

on my side of things, I can't figure out how to bot-upload emotes to 7tv, their docs are very vague x_x I don't even understand where to get 7tv token for authorization.

well, thanks for starting doing the upload manually.