mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
NoDefaultEmojis Fix Hardcode
This commit is contained in:
parent
a4593949b5
commit
f8151ef2bd
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.EMOJI_MATCHING",
|
find: ".Messages.EMOJI_MATCHING",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /renderResults\(e\){/,
|
match: /renderResults\((\i)\){/,
|
||||||
replace: "renderResults(e){ e.results.emojis = e.results.emojis.filter(emoji => !emoji.uniqueName || Vencord.Settings.plugins.NoDefaultEmojis.except.split(',\\ ').includes(emoji.uniqueName));"
|
replace: "renderResults($1){ $1.results.emojis = $1.results.emojis.filter(emoji => !emoji.uniqueName || Vencord.Settings.plugins.NoDefaultEmojis.except.split(',\\ ').includes(emoji.uniqueName));"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue