From 5980e832de4dc9cd211cac65c53e35b502f0f393 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 26 May 2021 12:49:30 -0600 Subject: [PATCH] commandDispatcher: messageReferenceID -> messageReference object --- pnpm-lock.yaml | 6 +++--- src/lib/commandDispatcher.js | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d669ad0..025c6b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -900,8 +900,8 @@ packages: resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=} dev: true - /ws/7.4.4: - resolution: {integrity: sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==} + /ws/7.4.6: + resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 @@ -923,7 +923,7 @@ packages: version: 0.15.2-dev engines: {node: '>=10.4.0'} dependencies: - ws: 7.4.4 + ws: 7.4.6 optionalDependencies: opusscript: 0.0.8 tweetnacl: 1.0.3 diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index a7ab4d8..ce1fe87 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -90,7 +90,9 @@ async function CommandDispatcher(msg) { allowedMentions: { repliedUser: false, }, - messageReferenceID: msg.id, + messageReference: { + messageID: msg.id, + }, } ), response.file