mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-21 04:17:01 -04:00
more eslint
This commit is contained in:
parent
350e7b0a6a
commit
36f4478a4f
13 changed files with 39 additions and 19 deletions
|
@ -49,7 +49,7 @@ export default definePlugin({
|
|||
replace: (m, guild) => `_guild=${guild},${m}`
|
||||
},
|
||||
{
|
||||
match: /(?<=createElement\((.{1,5}),\{id:"leave-guild".{0,100}\,)(.{1,2}\.createElement)\((.{1,5}),null,(.{1,2})\)(?=\)\}function)/,
|
||||
match: /(?<=createElement\((.{1,5}),\{id:"leave-guild".{0,100},)(.{1,2}\.createElement)\((.{1,5}),null,(.{1,2})\)(?=\)\}function)/,
|
||||
replace: (_, menu, createElement, menuGroup, copyIdElement) =>
|
||||
`${createElement}(${menuGroup},null,[` +
|
||||
`_guild.icon&&${createElement}(${menu},` +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue