commandDispatcher: messageReferenceID -> messageReference object

This commit is contained in:
Cynthia Foxwell 2021-05-26 12:49:30 -06:00
parent d0ee15b4e9
commit 5980e832de
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -90,7 +90,9 @@ async function CommandDispatcher(msg) {
allowedMentions: {
repliedUser: false,
},
messageReferenceID: msg.id,
messageReference: {
messageID: msg.id,
},
}
),
response.file