i may be stupid :3

This commit is contained in:
Vendicated 2024-03-28 05:18:00 +01:00
parent e71fcc3010
commit 82ab3ad1b9
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -214,7 +214,7 @@ export default definePlugin({
{
// Make the emoji always available if the intention allows it
match: /if\(!\i\.available/,
replace: m => `${m}&&(typeof fakeNitroIntention==="undefined"||![${1},${EmojiIntentions.GUILD_STICKER_RELATED_EMOJI}].includes(fakeNitroIntention))`
replace: m => `${m}&&(typeof fakeNitroIntention==="undefined"||![${EmojiIntentions.CHAT},${EmojiIntentions.GUILD_STICKER_RELATED_EMOJI}].includes(fakeNitroIntention))`
}
]
},