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",
|
||||
replacement: {
|
||||
match: /renderResults\(e\){/,
|
||||
replace: "renderResults(e){ e.results.emojis = e.results.emojis.filter(emoji => !emoji.uniqueName || Vencord.Settings.plugins.NoDefaultEmojis.except.split(',\\ ').includes(emoji.uniqueName));"
|
||||
match: /renderResults\((\i)\){/,
|
||||
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