diff --git a/src/plugins/invisibleChat/index.tsx b/src/plugins/invisibleChat/index.tsx
index e2f77695..519a9a6e 100644
--- a/src/plugins/invisibleChat/index.tsx
+++ b/src/plugins/invisibleChat/index.tsx
@@ -21,14 +21,11 @@ import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import { getStegCloak } from "@utils/dependencies";
import definePlugin from "@utils/types";
-import { findByPropsLazy } from "@webpack";
-import { Button, ButtonLooks, ChannelStore, FluxDispatcher, Tooltip } from "@webpack/common";
+import { Button, ButtonLooks, ButtonWrapperClasses, ChannelStore, FluxDispatcher, Tooltip } from "@webpack/common";
import { buildDecModal } from "./components/DecryptionModal";
import { buildEncModal } from "./components/EncryptionModal";
-const ButtonWrapperClasses = findByPropsLazy("buttonWrapper", "buttonContent");
-
let steggo: any;
function PopOverIcon() {
diff --git a/src/plugins/silentTyping.ts b/src/plugins/silentTyping.ts
deleted file mode 100644
index 8680a866..00000000
--- a/src/plugins/silentTyping.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Vencord, a modification for Discord's desktop app
- * Copyright (c) 2022 Vendicated and contributors
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
-*/
-
-import { Devs } from "@utils/constants";
-import definePlugin from "@utils/types";
-
-export default definePlugin({
- name: "SilentTyping",
- authors: [Devs.Ven],
- description: "Hide that you are typing",
- patches: [{
- find: "startTyping:",
- replacement: {
- match: /startTyping:.+?,stop/,
- replace: "startTyping:()=>{},stop"
- }
- }]
-});
diff --git a/src/plugins/silentTyping.tsx b/src/plugins/silentTyping.tsx
new file mode 100644
index 00000000..442be392
--- /dev/null
+++ b/src/plugins/silentTyping.tsx
@@ -0,0 +1,118 @@
+/*
+ * Vencord, a modification for Discord's desktop app
+ * Copyright (c) 2022 Vendicated and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+*/
+
+import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
+import { definePluginSettings } from "@api/settings";
+import ErrorBoundary from "@components/ErrorBoundary";
+import { Devs } from "@utils/constants";
+import definePlugin, { OptionType } from "@utils/types";
+import { Button, ButtonLooks, ButtonWrapperClasses, FluxDispatcher, React, Tooltip } from "@webpack/common";
+
+const settings = definePluginSettings({
+ showIcon: {
+ type: OptionType.BOOLEAN,
+ default: false,
+ description: "Show an icon for toggling the plugin",
+ restartNeeded: true,
+ },
+ isEnabled: {
+ type: OptionType.BOOLEAN,
+ description: "Toggle functionality",
+ default: true,
+ }
+});
+
+function SilentTypingToggle() {
+ const { isEnabled } = settings.use(["isEnabled"]);
+ const toggle = () => settings.store.isEnabled = !settings.store.isEnabled;
+
+ return (
+
+ {(tooltipProps: any) => (
+