Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Support Expired Boost emojis #9

Open
Delphox opened this issue Dec 11, 2021 · 1 comment
Open

Support Expired Boost emojis #9

Delphox opened this issue Dec 11, 2021 · 1 comment

Comments

@Delphox
Copy link
Contributor

Delphox commented Dec 11, 2021

Not sure if there's a straightforward way to do this (since there isn't a normal circumstance an use can use expired emojis), but might be worth looking into.

Right now they show ungreyed on the picker but can't be picked as they still have the emojiItemDisabled-1FvFuF property. They don't show up on search results either. When calling them by their raw code, they trigger the emoji-to-url conversion as normal except when it's a non-animated emoji being used in its home server (cuz they're assumed to be usable without nitro).

If you need a reference, this userscript (which works similar to lith's now-broken plugin) added support to them on this commit, although it still doesn't get around them not showing on search results (which links to the first paragraph, maybe this isn't possible due to how discord works).

If you need a way to test expired boost emojis, you can create them by having a server with 48-ish emojis, then upload multiple emojis to go over the limit all at once. It's a race condition so it may take multiple tries and the faster is your internet upload and the smaller the emojis, the better.

@luimu64
Copy link
Owner

luimu64 commented Dec 16, 2021

I am not really interested in working on this project currently but if you can put together some prototype implementation I can look into it more. I could also just add you to be collaborator at this point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants