aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageLogger
diff options
context:
space:
mode:
authorSyncx <47534062+Syncxv@users.noreply.github.com>2023-03-25 13:37:29 +1100
committerGitHub <noreply@github.com>2023-03-25 02:37:29 +0000
commit0b4ae729a3fecf017583fb968b11ab46e584e0ce (patch)
tree7559c8bbc7c64400044d4dec742c013c3823537f /src/plugins/messageLogger
parentb90392576e81fe2d0e665039ec832d47dc6a731c (diff)
downloadVencord-0b4ae729a3fecf017583fb968b11ab46e584e0ce.tar.gz
Vencord-0b4ae729a3fecf017583fb968b11ab46e584e0ce.tar.bz2
Vencord-0b4ae729a3fecf017583fb968b11ab46e584e0ce.zip
feat(plugin): SearchReply (#551)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: Vendicated <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/messageLogger')
-rw-r--r--src/plugins/messageLogger/index.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx
index e337393..4b4e0e9 100644
--- a/src/plugins/messageLogger/index.tsx
+++ b/src/plugins/messageLogger/index.tsx
@@ -25,13 +25,12 @@ import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import Logger from "@utils/Logger";
import definePlugin, { OptionType } from "@utils/types";
-import { findByPropsLazy, findLazy } from "@webpack";
-import { FluxDispatcher, Menu, moment, Parser, Timestamp, UserStore } from "@webpack/common";
+import { findByPropsLazy } from "@webpack";
+import { FluxDispatcher, i18n, Menu, moment, Parser, Timestamp, UserStore } from "@webpack/common";
import overlayStyle from "./deleteStyleOverlay.css?managed";
import textStyle from "./deleteStyleText.css?managed";
-const i18n = findLazy(m => m.Messages?.["en-US"]);
const styles = findByPropsLazy("edited", "communicationDisabled", "isSystemMessage");
function addDeleteStyle() {