An00nymushun / DiscordFreeEmojis

223 stars 118 forks source link

Can you make this plugin and the free sticker plugin work with this line? #42

Open legalizetren opened 2 years ago

legalizetren commented 2 years ago

Adding this so the actual icons themselves become colored, breaks this script and the free stickers script.

BdApi.findModuleByProps("getCurrentUser").getCurrentUser().premiumType = 2;

This line pretty much makes it show the icons in the emoji menu in color, but script doesn't seem to work with it on, same thing with stickers, they don't send

An00nymushun commented 2 years ago

Use css to make them non grayscale. That line spoofs nitro, which breaks functionalities because you don't actually have nitro and the backend rejects your requests.

legalizetren commented 2 years ago

no clue how to do that 🤷

marcussacana commented 2 years ago
li[class*='emojiItemDisabled'] { 
    outline: dotted 1px rgba(255, 0, 0, 0.3); 
    outline-offset: -2px; 
    filter: none !important; 
    cursor: pointer; 
}

li[class*='emojiItemDisabled'] > img { 
     filter: none; 
}
neemanthnub commented 2 years ago
li[class*='emojiItemDisabled'] { 
    outline: dotted 1px rgba(255, 0, 0, 0.3); 
    outline-offset: -2px; 
    filter: none !important; 
    cursor: pointer; 
}

li[class*='emojiItemDisabled'] > img { 
     filter: none; 
}

Hi, do we just have to paste this in the custom CSS editor?

marcussacana commented 2 years ago

Yes, but is outdated, this one should works:

button[class*='emojiItemDisabled']{ 
    outline: dotted 1px rgba(255, 0, 0, 0.3); 
    outline-offset: -2px; 
    filter: none !important; 
    cursor: pointer; 
}

button[class*='emojiItemDisabled'] > * { 
     filter: none !important; 
}
neemanthnub commented 2 years ago

Yes, but is outdated, this one should works:

button[class*='emojiItemDisabled']{ 
    outline: dotted 1px rgba(255, 0, 0, 0.3); 
    outline-offset: -2px; 
    filter: none !important; 
    cursor: pointer; 
}

button[class*='emojiItemDisabled'] > * { 
     filter: none !important; 
}

thank you, its working

FrostBird347 commented 1 year ago

If you still want to be able to quickly differentiate between emojis that will be embedded and ones that are in your current server, you can use this instead:

button[class*='emojiItemSelected'] {
    filter: none !important
}

With this, only selected emotes will not be greyscale.