From 0f2662b5aa4b083b087e7b0e819d5d7c8431ef95 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:36:44 -0400 Subject: [PATCH] Fix AlwaysTrust --- .../musicControls/tidal/lyrics/types.ts | 23 ------------------- src/plugins/alwaysTrust/index.tsx | 2 +- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/src/equicordplugins/musicControls/tidal/lyrics/types.ts b/src/equicordplugins/musicControls/tidal/lyrics/types.ts index 691241d8b..162409cd8 100644 --- a/src/equicordplugins/musicControls/tidal/lyrics/types.ts +++ b/src/equicordplugins/musicControls/tidal/lyrics/types.ts @@ -7,27 +7,4 @@ export interface EnhancedLyric { time: number; text: string; - words?: Word[]; - confidence?: null; - characters?: Character[]; -} - -interface Character { - time: number; - char: string; - endTime: number; - isVowel: boolean; - isSilent: boolean; - confidence: number | null; - phoneme: string; -} - -interface Word { - time: number; - word: string; - endTime: number; - isParenthetical: boolean; - confidence: null; - syllableCount: number; - characters: Character[]; } diff --git a/src/plugins/alwaysTrust/index.tsx b/src/plugins/alwaysTrust/index.tsx index 081505221..e0fea8d93 100644 --- a/src/plugins/alwaysTrust/index.tsx +++ b/src/plugins/alwaysTrust/index.tsx @@ -82,7 +82,7 @@ export default definePlugin({ { find: ".DELETE,onClick(){let", replacement: { - match: /let\{name:\i\}=\i\.guild/, + match: /let\{name:\i\}=(\i)\.guild/, replace: "$self.HandleGuildDeleteModal($1);$&" }, predicate: () => settings.store.noDeleteSafety