aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/messageActions.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-17 16:29:18 +0200
committerVendicated <vendicated@riseup.net>2022-10-17 16:29:26 +0200
commitad054d5c656967e00191027d729d3570128bb557 (patch)
tree85af17bdad413ee014fc0ee0d43f8bf2abb7df96 /src/plugins/messageActions.ts
parent82d53b192831229010d08190c8bb0d9a7e6a26f7 (diff)
downloadVencord-ad054d5c656967e00191027d729d3570128bb557.tar.gz
Vencord-ad054d5c656967e00191027d729d3570128bb557.tar.bz2
Vencord-ad054d5c656967e00191027d729d3570128bb557.zip
Fix messageActions
Diffstat (limited to 'src/plugins/messageActions.ts')
-rw-r--r--src/plugins/messageActions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/messageActions.ts b/src/plugins/messageActions.ts
index a017f54..58a7bb7 100644
--- a/src/plugins/messageActions.ts
+++ b/src/plugins/messageActions.ts
@@ -15,10 +15,10 @@ export default definePlugin({
dependencies: ["MessageEventsAPI"],
start() {
- const { deleteMessage, startEditMessage } = findByProps("deleteMessage");
+ const { deleteMessage, startEditMessage } = findByProps("deleteMessage", "startEditMessage");
const { can } = findByProps("can", "initialize");
const { MANAGE_MESSAGES } = find(m => typeof m.MANAGE_MESSAGES === "bigint");
- const { isEditing } = findByProps("isEditing");
+ const { isEditing } = findByProps("isEditing", "isEditingAny");
document.addEventListener("keydown", keydown);
document.addEventListener("keyup", keyup);