aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/betterRoleDot.ts3
-rw-r--r--src/plugins/clearURLs/index.ts2
-rw-r--r--src/plugins/fakeNitro.tsx4
-rw-r--r--src/plugins/messageClickActions.ts3
-rw-r--r--src/plugins/moreKaomoji.ts2
-rw-r--r--src/plugins/noDevtoolsWarning.ts3
-rw-r--r--src/plugins/noF1.ts2
-rw-r--r--src/plugins/noRPC.discordDesktop.ts2
-rw-r--r--src/plugins/quickReply.ts3
-rw-r--r--src/plugins/spotifyCrack.ts3
-rw-r--r--src/plugins/spotifyShareCommands.ts2
-rw-r--r--src/plugins/vcDoubleClick.ts2
12 files changed, 4 insertions, 27 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts
index 1fc18c3..fc13b7b 100644
--- a/src/plugins/betterRoleDot.ts
+++ b/src/plugins/betterRoleDot.ts
@@ -16,12 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { migratePluginSettings, Settings } from "@api/settings";
+import { Settings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { Clipboard, Toasts } from "@webpack/common";
-migratePluginSettings("BetterRoleDot", "ClickableRoleDot");
export default definePlugin({
name: "BetterRoleDot",
authors: [Devs.Ven],
diff --git a/src/plugins/clearURLs/index.ts b/src/plugins/clearURLs/index.ts
index 178a0e1..d1be6c6 100644
--- a/src/plugins/clearURLs/index.ts
+++ b/src/plugins/clearURLs/index.ts
@@ -23,7 +23,6 @@ import {
removePreEditListener,
removePreSendListener
} from "@api/MessageEvents";
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
@@ -33,7 +32,6 @@ import { defaultRules } from "./defaultRules";
const reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
const reHasRegExpChar = RegExp(reRegExpChar.source);
-migratePluginSettings("ClearURLs", "clearURLs");
export default definePlugin({
name: "ClearURLs",
description: "Removes tracking garbage from URLs",
diff --git a/src/plugins/fakeNitro.tsx b/src/plugins/fakeNitro.tsx
index fda9b6b..b067f2a 100644
--- a/src/plugins/fakeNitro.tsx
+++ b/src/plugins/fakeNitro.tsx
@@ -17,7 +17,7 @@
*/
import { addPreEditListener, addPreSendListener, removePreEditListener, removePreSendListener } from "@api/MessageEvents";
-import { definePluginSettings, migratePluginSettings, Settings } from "@api/settings";
+import { definePluginSettings, Settings } from "@api/settings";
import { Devs } from "@utils/constants";
import { ApngBlendOp, ApngDisposeOp, getGifEncoder, importApngJs } from "@utils/dependencies";
import { getCurrentGuild } from "@utils/discord";
@@ -149,8 +149,6 @@ const settings = definePluginSettings({
}
});
-migratePluginSettings("FakeNitro", "NitroBypass");
-
export default definePlugin({
name: "FakeNitro",
authors: [Devs.Arjix, Devs.D3SOX, Devs.Ven, Devs.obscurity, Devs.captain, Devs.Nuckyz, Devs.AutumnVN],
diff --git a/src/plugins/messageClickActions.ts b/src/plugins/messageClickActions.ts
index c54a09c..03f1eb7 100644
--- a/src/plugins/messageClickActions.ts
+++ b/src/plugins/messageClickActions.ts
@@ -17,7 +17,6 @@
*/
import { addClickListener, removeClickListener } from "@api/MessageEvents";
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { findByPropsLazy } from "@webpack";
@@ -29,8 +28,6 @@ const keyup = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed =
const MANAGE_CHANNELS = 1n << 4n;
-migratePluginSettings("MessageClickActions", "MessageQuickActions");
-
export default definePlugin({
name: "MessageClickActions",
description: "Hold Backspace and click to delete, double click to edit",
diff --git a/src/plugins/moreKaomoji.ts b/src/plugins/moreKaomoji.ts
index 6be80d6..9599108 100644
--- a/src/plugins/moreKaomoji.ts
+++ b/src/plugins/moreKaomoji.ts
@@ -17,11 +17,9 @@
*/
import { findOption, OptionalMessageOption } from "@api/Commands";
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
-migratePluginSettings("MoreKaomoji", "moarKaomojis");
export default definePlugin({
name: "MoreKaomoji",
description: "Adds more Kaomoji to discord. ヽ(´▽`)/",
diff --git a/src/plugins/noDevtoolsWarning.ts b/src/plugins/noDevtoolsWarning.ts
index 2dd514e..188b8fa 100644
--- a/src/plugins/noDevtoolsWarning.ts
+++ b/src/plugins/noDevtoolsWarning.ts
@@ -16,12 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
-migratePluginSettings("NoDevtoolsWarning", "STFU");
-
export default definePlugin({
name: "NoDevtoolsWarning",
description: "Disables the 'HOLD UP' banner in the console. As a side effect, also prevents Discord from hiding your token, which prevents random logouts.",
diff --git a/src/plugins/noF1.ts b/src/plugins/noF1.ts
index c951149..a40be5a 100644
--- a/src/plugins/noF1.ts
+++ b/src/plugins/noF1.ts
@@ -16,11 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
-migratePluginSettings("NoF1", "No F1");
export default definePlugin({
name: "NoF1",
description: "Disables F1 help bind.",
diff --git a/src/plugins/noRPC.discordDesktop.ts b/src/plugins/noRPC.discordDesktop.ts
index ebd7b1a..ebbbd5e 100644
--- a/src/plugins/noRPC.discordDesktop.ts
+++ b/src/plugins/noRPC.discordDesktop.ts
@@ -16,11 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
-migratePluginSettings("NoRPC", "No RPC");
export default definePlugin({
name: "NoRPC",
description: "Disables Discord's RPC server.",
diff --git a/src/plugins/quickReply.ts b/src/plugins/quickReply.ts
index d059b33..b038b69 100644
--- a/src/plugins/quickReply.ts
+++ b/src/plugins/quickReply.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { definePluginSettings, migratePluginSettings, Settings } from "@api/settings";
+import { definePluginSettings, Settings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { findByPropsLazy } from "@webpack";
@@ -29,7 +29,6 @@ const isMac = navigator.platform.includes("Mac"); // bruh
let replyIdx = -1;
let editIdx = -1;
-migratePluginSettings("QuickReply", "InteractionKeybinds");
const enum MentionOptions {
DISABLED,
diff --git a/src/plugins/spotifyCrack.ts b/src/plugins/spotifyCrack.ts
index 2682ccb..c403327 100644
--- a/src/plugins/spotifyCrack.ts
+++ b/src/plugins/spotifyCrack.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { definePluginSettings, migratePluginSettings } from "@api/settings";
+import { definePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
@@ -35,7 +35,6 @@ const settings = definePluginSettings({
}
});
-migratePluginSettings("SpotifyCrack", "Ify");
export default definePlugin({
name: "SpotifyCrack",
description: "Free listen along, no auto-pausing in voice chat, and allows activity to continue playing when idling",
diff --git a/src/plugins/spotifyShareCommands.ts b/src/plugins/spotifyShareCommands.ts
index ce29b75..7634e9d 100644
--- a/src/plugins/spotifyShareCommands.ts
+++ b/src/plugins/spotifyShareCommands.ts
@@ -17,7 +17,6 @@
*/
import { ApplicationCommandInputType, sendBotMessage } from "@api/Commands";
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { findByPropsLazy } from "@webpack";
@@ -74,7 +73,6 @@ function sendMessage(channelId, message) {
});
}
-migratePluginSettings("SpotifyShareCommands", "Sendify");
export default definePlugin({
name: "SpotifyShareCommands",
description: "Share your current Spotify track, album or artist via slash command (/track, /album, /artist)",
diff --git a/src/plugins/vcDoubleClick.ts b/src/plugins/vcDoubleClick.ts
index 6d124a6..3154351 100644
--- a/src/plugins/vcDoubleClick.ts
+++ b/src/plugins/vcDoubleClick.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import { migratePluginSettings } from "@api/settings";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import { ChannelStore, SelectedChannelStore } from "@webpack/common";
@@ -26,7 +25,6 @@ const timers = {} as Record<string, {
i: number;
}>;
-migratePluginSettings("VoiceChatDoubleClick", "vcDoubleClick");
export default definePlugin({
name: "VoiceChatDoubleClick",
description: "Join voice chats via double click instead of single click",