aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageActions.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-11-14 18:05:41 +0100
committerGitHub <noreply@github.com>2022-11-14 18:05:41 +0100
commit82e444e19635a72d2e1c4d043840bdfd358fa120 (patch)
tree85e4bc94fb6c9a7bebc3a56e311fdf967aeeb2d5 /src/plugins/messageActions.ts
parenta96f8a89f36ccb980334da2274385373aa3ffb24 (diff)
downloadVencord-82e444e19635a72d2e1c4d043840bdfd358fa120.tar.gz
Vencord-82e444e19635a72d2e1c4d043840bdfd358fa120.tar.bz2
Vencord-82e444e19635a72d2e1c4d043840bdfd358fa120.zip
Less confusing plugin names (bulk plugin rename) (#214)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Diffstat (limited to 'src/plugins/messageActions.ts')
-rw-r--r--src/plugins/messageActions.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/messageActions.ts b/src/plugins/messageActions.ts
index bb2ad17..05d792f 100644
--- a/src/plugins/messageActions.ts
+++ b/src/plugins/messageActions.ts
@@ -17,6 +17,7 @@
*/
import { addClickListener, removeClickListener } from "../api/MessageEvents";
+import { migratePluginSettings } from "../api/settings";
import { Devs } from "../utils/constants";
import { lazyWebpack } from "../utils/misc";
import definePlugin from "../utils/types";
@@ -27,9 +28,11 @@ let isDeletePressed = false;
const keydown = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = true);
const keyup = (e: KeyboardEvent) => e.key === "Backspace" && (isDeletePressed = false);
+migratePluginSettings("MessageClickActions", "MessageQuickActions");
+
export default definePlugin({
- name: "MessageQuickActions",
- description: "Quick Delete, Quick edit",
+ name: "MessageClickActions",
+ description: "Hold Delete and click to delete, double click to edit",
authors: [Devs.Ven],
dependencies: ["MessageEventsAPI"],