From 63b0bebb6d68415b5e562df7a39f570ee98f12e0 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 3 Sep 2025 18:09:12 -0400 Subject: [PATCH 01/17] Drop AutoJump Temp --- src/equicordplugins/autoJump/README.md | 3 - src/equicordplugins/autoJump/index.tsx | 69 ------------------- src/equicordplugins/chatButtonsPlus/index.tsx | 3 +- src/equicordplugins/inviteDefaults/index.ts | 2 +- src/equicordplugins/rpcEditor/index.tsx | 2 +- src/plugins/vcNarrator/VoiceSetting.tsx | 1 - 6 files changed, 4 insertions(+), 76 deletions(-) delete mode 100644 src/equicordplugins/autoJump/README.md delete mode 100644 src/equicordplugins/autoJump/index.tsx diff --git a/src/equicordplugins/autoJump/README.md b/src/equicordplugins/autoJump/README.md deleted file mode 100644 index e361254ca..000000000 --- a/src/equicordplugins/autoJump/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# AutoJump - -Jumps to the first message in new messages for a channel diff --git a/src/equicordplugins/autoJump/index.tsx b/src/equicordplugins/autoJump/index.tsx deleted file mode 100644 index b05ba1e64..000000000 --- a/src/equicordplugins/autoJump/index.tsx +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Vencord, a Discord client mod - * Copyright (c) 2024 Vendicated and contributors - * SPDX-License-Identifier: GPL-3.0-or-later - */ - -import { NavContextMenuPatchCallback } from "@api/ContextMenu"; -import { definePluginSettings } from "@api/Settings"; -import { EquicordDevs } from "@utils/constants"; -import definePlugin, { OptionType } from "@utils/types"; -import { ChannelStore, Menu, MessageActions, NavigationRouter } from "@webpack/common"; - -interface ChannelSelectEvent { - type: "CHANNEL_SELECT"; - channelId: string | null; - guildId: string | null; -} - -let lastChannelId = "0"; - -function autoJump({ guild_id, id: channelId }) { - const guildId = guild_id ?? "@me"; - - lastChannelId = channelId; - NavigationRouter.transitionTo(`/channels/${guildId}/${channelId}`); - MessageActions.jumpToPresent(channelId, { limit: null }); -} - -const MenuPatch: NavContextMenuPatchCallback = (children, { channel }) => { - children.push( -