You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI, Whenever I try and play a playlist larger than 100 songs the bot crashes and I get two errors
errors: [
ExpectedValidationError: Expected values to be equals
at LiteralValidator.handle (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/InstanceValidator.ts:7:14)
at LiteralValidator.run (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:74:20)
at UnionValidator.handle (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/UnionValidator.ts:89:3)
at UnionValidator.parse (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:92:2)
at EmbedBuilder.setDescription (/home/runner/evobot/node_modules/@discordjs/builders/src/messages/embed/Embed.ts:192:24)
at Object.execute (/home/runner/evobot/commands/playlist.ts:65:8)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
validator: 's.literal(V)',
'1. OMI - Cheerleader (Felix Jaehn Video Edit)\n' +
'2. Mark Ronson - Uptown Funk (Official Video) ft. Bruno Mars\n' +
'98. Nick Jonas - Close ft. Tove Lo\n' +
'99. G-Eazy & Bebe Rexha - Me, Myself & I (Official Video)\n' +
'100. Knock Out ft. Κωνσταντίνος Νάζης | Όταν Πονάω Το Γλεντάω - Official Videoclip',
expected: null
},
and
ExpectedConstraintError: Invalid string length
at Object.run (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/constraints/util/urlValidators.ts:20:1)
at StringValidator.run (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:78:21)
at UnionValidator.handle (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/UnionValidator.ts:89:3)
at UnionValidator.parse (/home/runner/evobot/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:92:2)
at EmbedBuilder.setDescription (/home/runner/evobot/node_modules/@discordjs/builders/src/messages/embed/Embed.ts:192:24)
at Object.execute (/home/runner/evobot/commands/playlist.ts:65:8)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
constraint: 's.string.lengthLessThanOrEqual',
given: '1. OMI - Cheerleader (Felix Jaehn Video Edit)\n' +
'2. Mark Ronson - Uptown Funk (Official Video) ft. Bruno Mars\n' +
'3. Hozier - Take Me To Church\n' +
'100. Knock Out ft. Κωνσταντίνος Νάζης | Όταν Πονάω Το Γλεντάω - Official Videoclip',
expected: 'expected.length <= 4096'
}
I have changed the config to allow for 100+ songs in playlist
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
HI, Whenever I try and play a playlist larger than 100 songs the bot crashes and I get two errors
I have changed the config to allow for 100+ songs in playlist
Beta Was this translation helpful? Give feedback.
All reactions