FakeNitro: ACTUALLY fix emojis

This commit is contained in:
Vendicated 2026-08-26 01:58:01 +02:00
parent dccf58453c
commit ada5cfeb80
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -260,7 +260,7 @@ export default definePlugin({
{
// Disallow the emoji for premium locked if the intention doesn't allow it
match: /(?<=!\(\i\|\|)\i\.\i\.canUseEmojisEverywhere\(\i\)/,
replace: check => `(${check}&&!${IS_BYPASSEABLE_INTENTION})`
replace: check => `(${check}||${IS_BYPASSEABLE_INTENTION})`
},
{
// Allow animated emojis to be used if the intention allows it