ExpectedConstraintError: Invalid string format
at Object.run (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:2350:64)
at C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:67
at Array.reduce (<anonymous>)
at _StringValidator.parse (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:29)
at validateName (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:1578:17)
at SlashCommandUserOption.setName (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:1678:5)
at C:\Users\4339u\Desktop\UNORP2.2\Commands\Duno-send.cjs:8:11
at MixedClass._sharedAddOptionMethod (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:2280:50)
at MixedClass.addUserOption (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:2212:17)
at Object.<anonymous> (C:\Users\4339u\Desktop\UNORP2.2\Commands\Duno-send.cjs:7:10) {
constraint: 's.string.regex',
given: 'UserID',
expected: 'expected /^[\\p{Ll}\\p{Lm}\\p{Lo}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+$/u.test(expected) to be true'
}
Node.js v20.11.0
ExpectedConstraintError: Invalid string format
at Object.run (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:2350:64)
at C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:67
at Array.reduce (<anonymous>)
at _StringValidator.parse (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:29)
at validateName (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:1578:17)
at SlashCommandUserOption.setName (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:1678:5)
at C:\Users\4339u\Desktop\UNORP2.2\Commands\Duno-send.cjs:8:11
at MixedClass._sharedAddOptionMethod (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:2280:50)
at MixedClass.addUserOption (C:\Users\4339u\Desktop\UNORP2.2\node_modules\@discordjs\builders\dist\index.js:2212:17)
at Object.<anonymous> (C:\Users\4339u\Desktop\UNORP2.2\Commands\Duno-send.cjs:7:10) {
constraint: 's.string.regex',
given: 'UserID',
expected: 'expected /^[\\p{Ll}\\p{Lm}\\p{Lo}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+$/u.test(expected) to be true'
}
Node.js v20.11.0