citation crash #137

Closed
opened 2024-07-30 23:43:27 +02:00 by Anri · 1 comment
Owner

quote a transfered message doesnt work, may be related to this

/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1205
Botanique  |     return errors.length === 0 ? Result.ok(transformed) : Result.err(new CombinedPropertyError(errors));
Botanique  |                                                                      ^
Botanique  | 
Botanique  | CombinedPropertyError: Received one or more errors
Botanique  |     at _ArrayValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1205:70)
Botanique  |     at _ArrayValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:939:90)
Botanique  |     at EmbedBuilder.addFields (/app/node_modules/@discordjs/builders/dist/index.js:228:31)
Botanique  |     at /app/dist/events/message/messageCreate.js:85:23
Botanique  |     at Array.map (<anonymous>)
Botanique  |     at /app/dist/events/message/messageCreate.js:68:28
Botanique  |     at Generator.next (<anonymous>)
Botanique  |     at fulfilled (/app/dist/events/message/messageCreate.js:5:58)
Botanique  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
Botanique  |   errors: [
Botanique  |     [
Botanique  |       0,
Botanique  |       CombinedPropertyError: Received one or more errors
Botanique  |           at _ObjectValidator.handleIgnoreStrategy (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2002:72)
Botanique  |           at _ObjectValidator.handleStrategy (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1872:47)
Botanique  |           at _ObjectValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1972:17)
Botanique  |           at _ObjectValidator.run (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:925:23)
Botanique  |           at _ArrayValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1199:37)
Botanique  |           at _ArrayValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:939:90)
Botanique  |           at EmbedBuilder.addFields (/app/node_modules/@discordjs/builders/dist/index.js:228:31)
Botanique  |           at /app/dist/events/message/messageCreate.js:85:23
Botanique  |           at Array.map (<anonymous>)
Botanique  |           at /app/dist/events/message/messageCreate.js:68:28 {
Botanique  |         errors: [ [ 'value', [ExpectedConstraintError] ] ]
Botanique  |       }
Botanique  |     ]
Botanique  |   ]
Botanique  | }
Botanique  | 
quote a transfered message doesnt work, may be related to this ``` /app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1205 Botanique | return errors.length === 0 ? Result.ok(transformed) : Result.err(new CombinedPropertyError(errors)); Botanique | ^ Botanique | Botanique | CombinedPropertyError: Received one or more errors Botanique | at _ArrayValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1205:70) Botanique | at _ArrayValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:939:90) Botanique | at EmbedBuilder.addFields (/app/node_modules/@discordjs/builders/dist/index.js:228:31) Botanique | at /app/dist/events/message/messageCreate.js:85:23 Botanique | at Array.map (<anonymous>) Botanique | at /app/dist/events/message/messageCreate.js:68:28 Botanique | at Generator.next (<anonymous>) Botanique | at fulfilled (/app/dist/events/message/messageCreate.js:5:58) Botanique | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { Botanique | errors: [ Botanique | [ Botanique | 0, Botanique | CombinedPropertyError: Received one or more errors Botanique | at _ObjectValidator.handleIgnoreStrategy (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2002:72) Botanique | at _ObjectValidator.handleStrategy (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1872:47) Botanique | at _ObjectValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1972:17) Botanique | at _ObjectValidator.run (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:925:23) Botanique | at _ArrayValidator.handle (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1199:37) Botanique | at _ArrayValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:939:90) Botanique | at EmbedBuilder.addFields (/app/node_modules/@discordjs/builders/dist/index.js:228:31) Botanique | at /app/dist/events/message/messageCreate.js:85:23 Botanique | at Array.map (<anonymous>) Botanique | at /app/dist/events/message/messageCreate.js:68:28 { Botanique | errors: [ [ 'value', [ExpectedConstraintError] ] ] Botanique | } Botanique | ] Botanique | ] Botanique | } Botanique | ```
Anri added the
bug
help wanted
labels 2024-07-30 23:43:27 +02:00
Author
Owner

unrelated crash, nevertheless now botanique will supported one-time transferred message (not a transferred, transferred message)

unrelated crash, nevertheless now botanique will supported one-time transferred message (not a transferred, transferred message)
Anri closed this issue 2024-09-17 22:57:56 +02:00
Anri referenced this issue from a commit 2024-09-17 22:57:59 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ConfrerieDuKassoulait/Botanique#137
No description provided.