Jump to content

bot online but throwing errors

Not a Bug 2.6.1

Stormmv

Posted

[ERROR] TypeError: Cannot read properties of undefined (reading 'send')
/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2136
    return errors.length === 0 ? Result.ok(finalObject) : Result.err(new CombinedPropertyError(errors, this.validatorOptions));
                                                                     ^

CombinedPropertyError: Received one or more errors
    at _ObjectValidator.handleIgnoreStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2136:70)
    at _ObjectValidator.handleStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1983:47)
    at _ObjectValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2089:17)
    at _ObjectValidator.parse (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:972:90)
    at EmbedBuilder.setFooter (/root/Advanced discord Clan bot 2/node_modules/@discordjs/builders/dist/index.js:329:26)
    at Object.execute (/root/Advanced discord Clan bot 2/Commands/Clan/clan.js:646:14)
    at Object.execute (/root/Advanced discord Clan bot 2/Events/Interaction/interactionCreate.js:11:13)
    at Client.<anonymous> (/root/Advanced discord Clan bot 2/Handlers/eventHandler.js:26:55)
    at Client.emit (node:events:519:35)
    at InteractionCreateAction.handle (/root/Advanced discord Clan bot 2/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12) {
  errors: [
    [
      'iconURL',
      CombinedError: Received one or more errors
          at _UnionValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1965:23)
          at _UnionValidator.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:958:23)
          at runPredicate (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2099:32)
          at _ObjectValidator.handleIgnoreStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2132:11)
          at _ObjectValidator.handleStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1983:47)
          at _ObjectValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2089:17)
          at _ObjectValidator.parse (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:972:90)
          at EmbedBuilder.setFooter (/root/Advanced discord Clan bot 2/node_modules/@discordjs/builders/dist/index.js:329:26)
          at Object.execute (/root/Advanced discord Clan bot 2/Commands/Clan/clan.js:646:14)
          at Object.execute (/root/Advanced discord Clan bot 2/Events/Interaction/interactionCreate.js:11:13) {
        errors: [
          ValidationError: Expected undefined or null
              at _NullishValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1570:79)
              at _NullishValidator.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:958:23)
              at _UnionValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1960:32)
              at _UnionValidator.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:958:23)
              at runPredicate (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2099:32)
              at _ObjectValidator.handleIgnoreStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2132:11)
              at _ObjectValidator.handleStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1983:47)
              at _ObjectValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2089:17)
              at _ObjectValidator.parse (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:972:90)
              at EmbedBuilder.setFooter (/root/Advanced discord Clan bot 2/node_modules/@discordjs/builders/dist/index.js:329:26) {
            validator: 's.nullish()',
            given: 'CHANGEME'
          },
          ExpectedConstraintError: Invalid URL
              at Object.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2489:11)
              at _StringValidator.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:962:27)
              at _UnionValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1960:32)
              at _UnionValidator.run (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:958:23)
              at runPredicate (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2099:32)
              at _ObjectValidator.handleIgnoreStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2132:11)
              at _ObjectValidator.handleStrategy (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1983:47)
              at _ObjectValidator.handle (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:2089:17)
              at _ObjectValidator.parse (/root/Advanced discord Clan bot 2/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:972:90)
              at EmbedBuilder.setFooter (/root/Advanced discord Clan bot 2/node_modules/@discordjs/builders/dist/index.js:329:26) {
            constraint: 's.string().url()',
            given: 'CHANGEME',
            expected: 'expected to match a URL'
          }
        ]
      }
    ]
  ]
}

threw this when i did /help in my server

Stormmv

Posted

nvm got it working, didnt do the link for the logo

Stormmv

Posted

nvm now im getting this error:

[ERROR] TypeError: Cannot read properties of undefined (reading 'send')

Stormmv

Posted

ok disregard im just dumb and forgot to use channel/role ids

a question i have is how do i make it so that it doesnt let everyone see the channel

Zex

Posted

You would have to manually do it to the channels, or I could send you a edited version that make the channels private automatically. (I plan on making this a option in the next few updates) 

Zex

Posted

Changed Status from Pending to Not a Bug

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.3k
Customers served
Files Sold
161k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.