From 41b6038f490dbe0d96c300a731f2e8c9bb4c01a7 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 25 Sep 2025 18:35:23 -0400 Subject: [PATCH] WebRichPresence: Proper Name --- src/plugins/arRPC.web/index.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/arRPC.web/index.tsx b/src/plugins/arRPC.web/index.tsx index d39a3e95e..12f66d0c2 100644 --- a/src/plugins/arRPC.web/index.tsx +++ b/src/plugins/arRPC.web/index.tsx @@ -17,7 +17,7 @@ */ import { popNotice, showNotice } from "@api/Notices"; -import { Settings } from "@api/Settings"; +import { migratePluginSettings, Settings } from "@api/Settings"; import { Link } from "@components/Link"; import { Devs } from "@utils/constants"; import definePlugin, { ReporterTestable } from "@utils/types"; @@ -38,17 +38,18 @@ async function lookupApp(applicationId: string): Promise { } let hideSetting = false; +let ws: WebSocket; if (IS_VESKTOP || IS_EQUIBOP || "legcord" in window) { hideSetting = true; - Settings.plugins["WebRichPresence (arRPC)"].enabled = false; + Settings.plugins.WebRichPresence.enabled = false; } else if ("goofcord" in window) { hideSetting = false; } -let ws: WebSocket; +migratePluginSettings("WebRichPresence", "WebRichPresence (arRPC)"); export default definePlugin({ - name: "WebRichPresence (arRPC)", + name: "WebRichPresence", description: "Client plugin for arRPC to enable RPC on Discord Web (experimental)", authors: [Devs.Ducko], reporterTestable: ReporterTestable.None,