banner

How to display banner ? I tried to fetch user.bannerURL or banner, but it dosent work, i have this error
C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104
    return Result.err(new CombinedError(errors));
                      ^

CombinedError: Received one or more errors
    at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1104:23)
    at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88) 
    at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23) 
    at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: [
    ValidationError: Expected undefined or null
        at NullishValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:764:79)
        at NullishValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:198:23)
        at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
        at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
        at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
        at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      validator: 's.nullish',
      given: ''
    },
    ExpectedConstraintError: Invalid URL
        at Object.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1605:27)      
        at StringValidator.run (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:202:27)
        at UnionValidator.handle (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:1099:32)
        at UnionValidator.parse (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
        at EmbedBuilder.setImage (C:\Users\Welltag\Desktop\Ruby Bot\node_modules\@discordjs\builders\dist\index.js:340:23)
        at Object.execute (C:\Users\Welltag\Desktop\Ruby Bot\src\commands\Utile\userInfo.js:27:4)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      constraint: 's.string.url',
      given: '',
      expected: 'expected to match a URL'
    }
  ]
}


If someone can help me pls
Was this page helpful?