mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 19:45:09 +00:00
FakeNitro: fix fake emoji conversion (#3829)
This commit is contained in:
parent
7098f41c5b
commit
57091cfa02
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ export default definePlugin({
|
|||
{
|
||||
// Patch the rendered message content to add fake nitro emojis or remove sticker links
|
||||
predicate: () => settings.store.transformEmojis || settings.store.transformStickers,
|
||||
match: /(?=return{hasSpoilerEmbeds:\i,content:(\i)})/,
|
||||
match: /(?=return{hasSpoilerEmbeds:\i,content:(\i))/,
|
||||
replace: (_, content) => `${content}=$self.patchFakeNitroEmojisOrRemoveStickersLinks(${content},arguments[2]?.formatInline);`
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue