diff --git a/src/plusplugins/notesSearcher/README.md b/RemovedPlusPlugins/notesSearcher/README.md similarity index 96% rename from src/plusplugins/notesSearcher/README.md rename to RemovedPlusPlugins/notesSearcher/README.md index 332658fb..65107ab9 100644 --- a/src/plusplugins/notesSearcher/README.md +++ b/RemovedPlusPlugins/notesSearcher/README.md @@ -1,7 +1,7 @@ -# NotesSearcher - -Allows you to open a modal with all of your notes and search through them by user ID, note text, and username - -## Preview - -![preview](https://i.imgur.com/yBwhcx6.png) +# NotesSearcher + +Allows you to open a modal with all of your notes and search through them by user ID, note text, and username + +## Preview + +![preview](https://i.imgur.com/yBwhcx6.png) diff --git a/src/plusplugins/notesSearcher/components/Icons.tsx b/RemovedPlusPlugins/notesSearcher/components/Icons.tsx similarity index 98% rename from src/plusplugins/notesSearcher/components/Icons.tsx rename to RemovedPlusPlugins/notesSearcher/components/Icons.tsx index 90543feb..ffd8725a 100644 --- a/src/plusplugins/notesSearcher/components/Icons.tsx +++ b/RemovedPlusPlugins/notesSearcher/components/Icons.tsx @@ -5,72 +5,72 @@ */ import { LazyComponent } from "@utils/lazyReact"; -import { React } from "@webpack/common"; - -export const NotesDataIcon = LazyComponent(() => React.memo(() => { - return ( - - - - ); -})); - -export const SaveIcon = LazyComponent(() => React.memo(() => { - return ( - - - - ); -})); - -export const DeleteIcon = LazyComponent(() => React.memo(() => { - return ( - - - - ); -})); - -export const RefreshIcon = LazyComponent(() => React.memo(() => { - return ( - - - - ); -})); - -export const PopupIcon = LazyComponent(() => React.memo(() => { - return ( - - - - - ); -})); - -export const CrossIcon = LazyComponent(() => React.memo(() => { - return ( - - - - - ); -})); - -export const ProblemIcon = LazyComponent(() => React.memo(() => { - return ( - - - - - ); -})); - -export const SuccessIcon = LazyComponent(() => React.memo(() => { - return ( - - - - - ); -})); +import { React } from "@webpack/common"; + +export const NotesDataIcon = LazyComponent(() => React.memo(() => { + return ( + + + + ); +})); + +export const SaveIcon = LazyComponent(() => React.memo(() => { + return ( + + + + ); +})); + +export const DeleteIcon = LazyComponent(() => React.memo(() => { + return ( + + + + ); +})); + +export const RefreshIcon = LazyComponent(() => React.memo(() => { + return ( + + + + ); +})); + +export const PopupIcon = LazyComponent(() => React.memo(() => { + return ( + + + + + ); +})); + +export const CrossIcon = LazyComponent(() => React.memo(() => { + return ( + + + + + ); +})); + +export const ProblemIcon = LazyComponent(() => React.memo(() => { + return ( + + + + + ); +})); + +export const SuccessIcon = LazyComponent(() => React.memo(() => { + return ( + + + + + ); +})); diff --git a/src/plusplugins/notesSearcher/components/LoadingSpinner.tsx b/RemovedPlusPlugins/notesSearcher/components/LoadingSpinner.tsx similarity index 100% rename from src/plusplugins/notesSearcher/components/LoadingSpinner.tsx rename to RemovedPlusPlugins/notesSearcher/components/LoadingSpinner.tsx diff --git a/src/plusplugins/notesSearcher/components/NotesDataButton.tsx b/RemovedPlusPlugins/notesSearcher/components/NotesDataButton.tsx similarity index 100% rename from src/plusplugins/notesSearcher/components/NotesDataButton.tsx rename to RemovedPlusPlugins/notesSearcher/components/NotesDataButton.tsx diff --git a/src/plusplugins/notesSearcher/components/NotesDataModal.tsx b/RemovedPlusPlugins/notesSearcher/components/NotesDataModal.tsx similarity index 100% rename from src/plusplugins/notesSearcher/components/NotesDataModal.tsx rename to RemovedPlusPlugins/notesSearcher/components/NotesDataModal.tsx diff --git a/src/plusplugins/notesSearcher/components/NotesDataRow.tsx b/RemovedPlusPlugins/notesSearcher/components/NotesDataRow.tsx similarity index 100% rename from src/plusplugins/notesSearcher/components/NotesDataRow.tsx rename to RemovedPlusPlugins/notesSearcher/components/NotesDataRow.tsx diff --git a/src/plusplugins/notesSearcher/data.ts b/RemovedPlusPlugins/notesSearcher/data.ts similarity index 100% rename from src/plusplugins/notesSearcher/data.ts rename to RemovedPlusPlugins/notesSearcher/data.ts diff --git a/src/plusplugins/notesSearcher/index.tsx b/RemovedPlusPlugins/notesSearcher/index.tsx similarity index 100% rename from src/plusplugins/notesSearcher/index.tsx rename to RemovedPlusPlugins/notesSearcher/index.tsx diff --git a/src/plusplugins/notesSearcher/settings.tsx b/RemovedPlusPlugins/notesSearcher/settings.tsx similarity index 97% rename from src/plusplugins/notesSearcher/settings.tsx rename to RemovedPlusPlugins/notesSearcher/settings.tsx index 986d1bc9..f0f6cd72 100644 --- a/src/plusplugins/notesSearcher/settings.tsx +++ b/RemovedPlusPlugins/notesSearcher/settings.tsx @@ -5,12 +5,12 @@ */ import { definePluginSettings } from "@api/Settings"; -import { OptionType } from "@utils/types"; - -export default definePluginSettings({ - startupCache: { - default: false, - type: OptionType.BOOLEAN, - description: "Cache all users on startup", - }, -}); +import { OptionType } from "@utils/types"; + +export default definePluginSettings({ + startupCache: { + default: false, + type: OptionType.BOOLEAN, + description: "Cache all users on startup", + }, +}); diff --git a/src/plusplugins/notesSearcher/styles.css b/RemovedPlusPlugins/notesSearcher/styles.css similarity index 100% rename from src/plusplugins/notesSearcher/styles.css rename to RemovedPlusPlugins/notesSearcher/styles.css diff --git a/src/plusplugins/notesSearcher/types.d.ts b/RemovedPlusPlugins/notesSearcher/types.d.ts similarity index 100% rename from src/plusplugins/notesSearcher/types.d.ts rename to RemovedPlusPlugins/notesSearcher/types.d.ts diff --git a/src/plusplugins/skypeloginsound/index.ts b/RemovedPlusPlugins/skypeloginsound/index.ts similarity index 100% rename from src/plusplugins/skypeloginsound/index.ts rename to RemovedPlusPlugins/skypeloginsound/index.ts diff --git a/src/plusplugins/voiceChannelLog/VoiceChannelLogEntryComponent.css b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryComponent.css similarity index 100% rename from src/plusplugins/voiceChannelLog/VoiceChannelLogEntryComponent.css rename to RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryComponent.css diff --git a/src/plusplugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx similarity index 97% rename from src/plusplugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx rename to RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx index 6f0e9aee..657f6d30 100644 --- a/src/plusplugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx +++ b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryComponent.tsx @@ -1,6 +1,6 @@ /* * Vencord, a Discord client mod - * Copyright (c) 2023 Vendicated and contributors + * Copyright (c) 2024 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ diff --git a/src/plusplugins/voiceChannelLog/VoiceChannelLogEntryIcons.tsx b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryIcons.tsx similarity index 100% rename from src/plusplugins/voiceChannelLog/VoiceChannelLogEntryIcons.tsx rename to RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogEntryIcons.tsx diff --git a/src/plusplugins/voiceChannelLog/VoiceChannelLogModal.tsx b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogModal.tsx similarity index 98% rename from src/plusplugins/voiceChannelLog/VoiceChannelLogModal.tsx rename to RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogModal.tsx index d0110c3d..86ca3c88 100644 --- a/src/plusplugins/voiceChannelLog/VoiceChannelLogModal.tsx +++ b/RemovedPlusPlugins/voiceChannelLog/VoiceChannelLogModal.tsx @@ -1,6 +1,6 @@ /* * Vencord, a Discord client mod - * Copyright (c) 2023 Vendicated and contributors + * Copyright (c) 2024 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ diff --git a/src/plusplugins/voiceChannelLog/index.tsx b/RemovedPlusPlugins/voiceChannelLog/index.tsx similarity index 93% rename from src/plusplugins/voiceChannelLog/index.tsx rename to RemovedPlusPlugins/voiceChannelLog/index.tsx index 3ca588a9..2a887a17 100644 --- a/src/plusplugins/voiceChannelLog/index.tsx +++ b/RemovedPlusPlugins/voiceChannelLog/index.tsx @@ -114,7 +114,7 @@ let clientOldChannelId: string | undefined; export default definePlugin({ name: "VoiceChannelLog", - description: "Logs who joins and leaves voice channels", + description: "Log who joins and leaves voice channels", authors: [Devs.Sqaaakoi], settings, flux: { @@ -149,12 +149,12 @@ export default definePlugin({ // empty string is to make type checker shut up const targetChannelId = oldChannelId || channelId || ""; const selfInChannel = SelectedChannelStore.getVoiceChannelId() === targetChannelId; - sendVoiceStatusMessage(targetChannelId, `${(channelId ? "Joined" : "Left")} <#${targetChannelId}>`, userId, selfInChannel); + sendVoiceStatusMessage(targetChannelId, `${(channelId ? "has joined" : "has left")} <#${targetChannelId}>`, userId, selfInChannel); } // Move between channels if (oldChannelId && channelId) { - sendVoiceStatusMessage(oldChannelId, `Moved to <#${channelId}>`, userId, SelectedChannelStore.getVoiceChannelId() === oldChannelId); - sendVoiceStatusMessage(channelId, `Moved from <#${oldChannelId}>`, userId, SelectedChannelStore.getVoiceChannelId() === channelId); + sendVoiceStatusMessage(oldChannelId, `has moved to <#${channelId}>`, userId, SelectedChannelStore.getVoiceChannelId() === oldChannelId); + sendVoiceStatusMessage(channelId, `has moved from <#${oldChannelId}>`, userId, SelectedChannelStore.getVoiceChannelId() === channelId); } }); diff --git a/src/plusplugins/voiceChannelLog/logs.ts b/RemovedPlusPlugins/voiceChannelLog/logs.ts similarity index 100% rename from src/plusplugins/voiceChannelLog/logs.ts rename to RemovedPlusPlugins/voiceChannelLog/logs.ts diff --git a/src/plusplugins/voiceJoinMessages/index.ts b/RemovedPlusPlugins/voiceJoinMessages/index.ts similarity index 92% rename from src/plusplugins/voiceJoinMessages/index.ts rename to RemovedPlusPlugins/voiceJoinMessages/index.ts index 379998f8..f74c9730 100644 --- a/src/plusplugins/voiceJoinMessages/index.ts +++ b/RemovedPlusPlugins/voiceJoinMessages/index.ts @@ -18,12 +18,12 @@ const SortedVoiceStateStore = findByPropsLazy("getVoiceStatesForChannel"); const settings = definePluginSettings({ friendDirectMessages: { type: OptionType.BOOLEAN, - description: "Recieve notifications in your friends' DMs when they join a voice channel", + description: "Receive notifications in your friends' DMs when they join a voice channel", default: true }, friendDirectMessagesShowMembers: { type: OptionType.BOOLEAN, - description: "Show a list of other members in the voice channel when recieving a DM notification of your friend joining a voice channel", + description: "Show a list of other members in the voice channel when receiving a DM notification of your friend joining a voice channel", default: true }, friendDirectMessagesShowMemberCount: { @@ -33,22 +33,22 @@ const settings = definePluginSettings({ }, friendDirectMessagesSelf: { type: OptionType.BOOLEAN, - description: "Recieve notifications in your friends' DMs even if you are in the same voice channel as them", + description: "Receive notifications in your friends' DMs, even if you are in the same voice channel as them", default: false }, friendDirectMessagesSilent: { type: OptionType.BOOLEAN, - description: "Join messages in your friends DMs will be silent", + description: "Join messages in your friends' DMs will be silent", default: false }, allowedFriends: { type: OptionType.STRING, - description: "Comma or space separated list of friends' user IDs you want to recieve join messages from", + description: "Comma or space separated list of friends' user IDs you want to receive join messages from", default: "" }, ignoreBlockedUsers: { type: OptionType.BOOLEAN, - description: "Do not send messages about blocked users joining/leaving/moving voice channels", + description: "Do not send messages about blocked users joining voice channels", default: true }, }); @@ -142,7 +142,7 @@ export default definePlugin({ } } const dmChannelId = ChannelStore.getDMFromUserId(userId); - if (dmChannelId && (selfInChannel ? settings.store.friendDirectMessagesSelf : true)) sendVoiceStatusMessage(dmChannelId, `Joined voice channel <#${channelId}>${memberListContent}`, userId); + if (dmChannelId && (selfInChannel ? settings.store.friendDirectMessagesSelf : true)) sendVoiceStatusMessage(dmChannelId, `has joined voice channel <#${channelId}>${memberListContent}`, userId); } }); },