mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-30 12:11:58 -04:00
parent
dc76e447da
commit
1fbc2bfcb2
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ export default definePlugin({
|
|||
find: "#{intl::EMOJI_PICKER_CREATE_EMOJI_TITLE}),size:",
|
||||
replacement: {
|
||||
match: /(\i)=\i\|\|!\i&&\i.\i.isEmojiCategoryNitroLocked\(\{[^}]*\}\);/,
|
||||
replace: "$&$1||"
|
||||
replace: "$&$1=($1 && $1.isNitroLocked && !$1.isUserAccess);"
|
||||
},
|
||||
predicate: () => settings.store.emojiList,
|
||||
},
|
||||
|
@ -111,7 +111,7 @@ export default definePlugin({
|
|||
find: "#{intl::EMOJI_CATEGORY_TOP_GUILD_EMOJI},{guildName:",
|
||||
replacement: {
|
||||
match: /(?<=(\i)\.unshift\((\i)\):)(?=\1\.push\(\2\))/,
|
||||
replace: "$2.isNitroLocked||"
|
||||
replace: "$2.isNitroLocked && !$2.isUserAccess ||"
|
||||
},
|
||||
predicate: () => settings.store.emojiList,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue