mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-12 16:13:02 -04:00
more eslint
This commit is contained in:
parent
350e7b0a6a
commit
36f4478a4f
13 changed files with 39 additions and 19 deletions
|
@ -30,7 +30,7 @@ export default definePlugin({
|
|||
},
|
||||
}, {
|
||||
find: ".isStaff=function(){",
|
||||
predicate: () => Settings.plugins["Experiments"].enableIsStaff === true,
|
||||
predicate: () => Settings.plugins.Experiments.enableIsStaff === true,
|
||||
replacement: [
|
||||
{
|
||||
match: /return\s*(\w+)\.hasFlag\((.+?)\.STAFF\)}/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue