Fix patches with duplicate finds

This commit is contained in:
Nuckyz 2025-01-22 22:44:52 -03:00
parent ed99ae7f23
commit 30647b6bd9
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
6 changed files with 7 additions and 7 deletions

View file

@ -27,7 +27,7 @@ export default definePlugin({
authors: [Devs.D3SOX, Devs.Nickyux],
patches: [
{
find: "#{intl::GUILD_OWNER}",
find: "#{intl::GUILD_OWNER}),children:",
replacement: {
match: /,isOwner:(\i),/,
replace: ",_isOwner:$1=$self.isGuildOwner(e),"