bump dysnomia

This commit is contained in:
Cynthia Foxwell 2024-07-10 18:10:26 -06:00
parent cb867db748
commit 7d05a4f7c7
2 changed files with 5 additions and 9 deletions

View file

@ -16,7 +16,7 @@ importers:
version: 1.7.0 version: 1.7.0
'@projectdysnomia/dysnomia': '@projectdysnomia/dysnomia':
specifier: github:projectdysnomia/dysnomia#dev specifier: github:projectdysnomia/dysnomia#dev
version: https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/7031c23b31ce801bb4fdfbbab8f52b7c2d785a8b version: https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/8e50eed921acbbcfde7bbdab7a03cd6c62e788c2
dumpy: dumpy:
specifier: github:Cynosphere/dumpy.js specifier: github:Cynosphere/dumpy.js
version: https://codeload.github.com/Cynosphere/dumpy.js/tar.gz/5fc22353cdcb97084bab572266390e780d9f7a7b(encoding@0.1.13) version: https://codeload.github.com/Cynosphere/dumpy.js/tar.gz/5fc22353cdcb97084bab572266390e780d9f7a7b(encoding@0.1.13)
@ -452,8 +452,8 @@ packages:
resolution: {integrity: sha512-aGQIwo6/sWtyyqhVK4e1MtxYz4N1X8CNt6SOtCc+Wnczs5S5ONaLHDDR8LYaGn0MgOwvGgXyuZ5sJIfd7iyoUw==} resolution: {integrity: sha512-aGQIwo6/sWtyyqhVK4e1MtxYz4N1X8CNt6SOtCc+Wnczs5S5ONaLHDDR8LYaGn0MgOwvGgXyuZ5sJIfd7iyoUw==}
engines: {node: '>=0.10'} engines: {node: '>=0.10'}
'@projectdysnomia/dysnomia@https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/7031c23b31ce801bb4fdfbbab8f52b7c2d785a8b': '@projectdysnomia/dysnomia@https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/8e50eed921acbbcfde7bbdab7a03cd6c62e788c2':
resolution: {tarball: https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/7031c23b31ce801bb4fdfbbab8f52b7c2d785a8b} resolution: {tarball: https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/8e50eed921acbbcfde7bbdab7a03cd6c62e788c2}
version: 0.2.0-dev version: 0.2.0-dev
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
peerDependencies: peerDependencies:
@ -2096,7 +2096,7 @@ snapshots:
jsprim: 1.4.2 jsprim: 1.4.2
sshpk: 1.17.0 sshpk: 1.17.0
'@projectdysnomia/dysnomia@https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/7031c23b31ce801bb4fdfbbab8f52b7c2d785a8b': '@projectdysnomia/dysnomia@https://codeload.github.com/projectdysnomia/dysnomia/tar.gz/8e50eed921acbbcfde7bbdab7a03cd6c62e788c2':
dependencies: dependencies:
ws: 8.13.0 ws: 8.13.0
optionalDependencies: optionalDependencies:

View file

@ -347,15 +347,11 @@ async function processReaction(_msg, reaction, user) {
if (trueCount == 0) { if (trueCount == 0) {
logger.verbose("vinboard", `Deleting entry for "${msg.id}"`); logger.verbose("vinboard", `Deleting entry for "${msg.id}"`);
if (dbEntry.board_id) { if (dbEntry.board_id) {
/*await hf.bot.deleteWebhookMessage( await hf.bot.deleteWebhookMessage(
vinboard_webhook.id, vinboard_webhook.id,
vinboard_webhook.token, vinboard_webhook.token,
dbEntry.board_id, dbEntry.board_id,
VINBOARD_THREAD_ID VINBOARD_THREAD_ID
);*/
await hf.bot.requestHandler.request(
"DELETE",
`/webhooks/${vinboard_webhook.id}/${vinboard_webhook.token}/messages/${dbEntry.board_id}?thread_id=${VINBOARD_THREAD_ID}`
); );
await deleteBoardEntry(msg.id); await deleteBoardEntry(msg.id);
} }