mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 06:03:03 -04:00
clean up some misleading plugin names
This commit is contained in:
parent
6ea960cf90
commit
f030937bfa
5 changed files with 6 additions and 6 deletions
|
@ -42,6 +42,7 @@ export default definePlugin({
|
|||
description: "Client plugin for arRPC to enable RPC on Discord Web (experimental)",
|
||||
authors: [Devs.Ducko],
|
||||
reporterTestable: ReporterTestable.None,
|
||||
hidden: IS_VESKTOP || "legcord" in window,
|
||||
|
||||
settingsAboutComponent: () => (
|
||||
<>
|
||||
|
@ -73,9 +74,6 @@ export default definePlugin({
|
|||
},
|
||||
|
||||
async start() {
|
||||
// Legcord comes with its own arRPC implementation, so this plugin just confuses users
|
||||
if ("legcord" in window) return;
|
||||
|
||||
if (ws) ws.close();
|
||||
ws = new WebSocket("ws://127.0.0.1:1337"); // try to open WebSocket
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
import { findGroupChildrenByChildId, NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||
import { migratePluginSettings } from "@api/Settings";
|
||||
import { CheckedTextInput } from "@components/CheckedTextInput";
|
||||
import { Devs } from "@utils/constants";
|
||||
import { Logger } from "@utils/Logger";
|
||||
|
@ -165,7 +166,7 @@ async function doClone(guildId: string, data: Sticker | Emoji) {
|
|||
message = JSON.parse(e.text).message;
|
||||
} catch { }
|
||||
|
||||
new Logger("EmoteCloner").error("Failed to clone", data.name, "to", guildId, e);
|
||||
new Logger("ExpressionCloner").error("Failed to clone", data.name, "to", guildId, e);
|
||||
Toasts.show({
|
||||
message: "Failed to clone: " + message,
|
||||
type: Toasts.Type.FAILURE,
|
||||
|
@ -364,10 +365,11 @@ const expressionPickerPatch: NavContextMenuPatchCallback = (children, props: { t
|
|||
}
|
||||
};
|
||||
|
||||
migratePluginSettings("ExpressionCloner", "EmoteCloner");
|
||||
export default definePlugin({
|
||||
name: "EmoteCloner",
|
||||
name: "ExpressionCloner",
|
||||
description: "Allows you to clone Emotes & Stickers to your own server (right click them)",
|
||||
tags: ["StickerCloner"],
|
||||
tags: ["StickerCloner", "EmoteCloner", "EmojiCloner"],
|
||||
authors: [Devs.Ven, Devs.Nuckyz],
|
||||
contextMenus: {
|
||||
"message": messageContextMenuPatch,
|
Loading…
Add table
Add a link
Reference in a new issue