Coder Social home page Coder Social logo

xcrypt0r / crucian Goto Github PK

View Code? Open in Web Editor NEW
87.0 9.0 60.0 402 KB

⚡ Discord bot with economy, gambling, music, fun, moderation features based on discord.js v12

License: GNU General Public License v3.0

JavaScript 92.04% CSS 1.06% Shell 0.46% Pug 6.45%
discord discordjs musicbot discordbot discord-js music-bot discord-bot bot crucian djs

crucian's Issues

Help needed!

What's the prefix of the bot?...sorry but i am not able to find it.

Error

        [readableEnded]: [Getter]
      },
      [name]: 'Cursor'
    },
    reconnect: false,
    emitError: true,
    maxPoolSize: 10,
    minPoolSize: 0,
    monitorCommands: false,
    servers: [
      {
        host: 'thebublik-shard-00-00.wp4oe.mongodb.net',
        port: 27017
      },
      [length]: 1
    ],
    caseTranslate: true,
    useNewUrlParser: true,
    promiseLibrary: <ref *2> [Function: Promise] {
      [length]: 1,
      [name]: 'Promise',
      [prototype]: {
        [constructor]: [Circular *2],
        [then]: [Function: then] {
          [length]: 2,
          [name]: 'then'
        },
        [catch]: [Function: catch] {
          [length]: 1,
          [name]: 'catch'
        },
        [finally]: [Function: finally] {
          [length]: 1,
          [name]: 'finally'
        },
        [Symbol(Symbol.toStringTag)]: 'Promise'
      },
      [all]: [Function: all] {
        [length]: 1,
        [name]: 'all'
      },
      [race]: [Function: race] {
        [length]: 1,
        [name]: 'race'
      },
      [resolve]: [Function: resolve] {
        [length]: 1,
        [name]: 'resolve'
      },
      [reject]: [Function: reject] {
        [length]: 1,
        [name]: 'reject'
      },
      [allSettled]: [Function: allSettled] {
        [length]: 1,
        [name]: 'allSettled'
      },
      [Symbol(Symbol.species)]: [Getter]
    },
    driverInfo: {
      name: 'Mongoose',
      version: '5.13.5'
    },
    directConnection: true,
    checkServerIdentity: true,
    rejectUnauthorized: true,
    auth: {
      username: 'bublik',
      password: 'bublik2013',
      db: 'Thebublik',
      user: 'bublik'
    },
    authSource: 'Thebublik',
    dbName: 'Thebublik',
    name: 'Mongoose',
    version: '5.13.5',
    socketTimeout: 0,
    connectionTimeout: 10000,
    retryWrites: true,
    useRecoveryToken: true,
    readPreference: ReadPreference {
      mode: 'primary',
      tags: undefined,
      hedge: undefined,
      preference: [Getter]
    },
    credentials: MongoCredentials {
      username: 'bublik',
      password: 'bublik2013',
      source: 'Thebublik',
      mechanism: 'default',
      mechanismProperties: {}
    },
    metadata: {
      driver: {
        name: 'nodejs|Mongoose',
        version: '3.6.10'
      },
      os: {
        type: 'Linux',
        name: 'linux',
        architecture: 'x64',
        version: '5.4.0-77-generic'
      },
      platform: "'Node.js v14.17.0, LE (unified)",
      version: '3.6.10|5.13.5'
    },
    compression: {
      compressors: [
        [length]: 0
      ]
    }
  },
  [error]: [Getter],
  [hasKnownServers]: [Getter],
  [hasDataBearingServers]: [Getter]
},
[name]: 'MongooseServerSelectionError'

}
}
[2021-08-04 13:22:22] Operation guilds.findOne() buffering timed out after 10000ms
[2021-08-04 13:22:22]
Promise {
MongooseError: Operation guilds.findOne() buffering timed out after 10000ms
at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)
at listOnTimeout (internal/timers.js:555:17)
at processTimers (internal/timers.js:498:7) {
[stack]: 'MongooseError: Operation guilds.findOne() buffering timed out after 10000ms\n' +
' at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)\n' +
' at listOnTimeout (internal/timers.js:555:17)\n' +
' at processTimers (internal/timers.js:498:7)',
[message]: 'Operation guilds.findOne() buffering timed out after 10000ms',
[name]: 'MongooseError'
}
}
[2021-08-04 13:22:26] Operation guilds.findOne() buffering timed out after 10000ms
[2021-08-04 13:22:26]
Promise {
MongooseError: Operation guilds.findOne() buffering timed out after 10000ms
at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)
at listOnTimeout (internal/timers.js:555:17)
at processTimers (internal/timers.js:498:7) {
[stack]: 'MongooseError: Operation guilds.findOne() buffering timed out after 10000ms\n' +
' at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)\n' +
' at listOnTimeout (internal/timers.js:555:17)\n' +
' at processTimers (internal/timers.js:498:7)',
[message]: 'Operation guilds.findOne() buffering timed out after 10000ms',
[name]: 'MongooseError'
}
}
[2021-08-04 13:22:39] Operation guilds.findOne() buffering timed out after 10000ms
[2021-08-04 13:22:39]
Promise {
MongooseError: Operation guilds.findOne() buffering timed out after 10000ms
at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)
at listOnTimeout (internal/timers.js:555:17)
at processTimers (internal/timers.js:498:7) {
[stack]: 'MongooseError: Operation guilds.findOne() buffering timed out after 10000ms\n' +
' at Timeout. (/home/container/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:197:23)\n' +
' at listOnTimeout (internal/timers.js:555:17)\n' +
' at processTimers (internal/timers.js:498:7)',
[message]: 'Operation guilds.findOne() buffering timed out after 10000ms',
[name]: 'MongooseError'
}
}

bot does not read database from mongo DB

hello, when trying to mount the bot on my computer I did and install everything necessary for what is required but the bot does not read the mongo db database as shown in the following screenshot
image
and everything is well configured in the database since it has all the ports open
image
and the env is all configured with the password and others (I censor them for security), and if the passwords are correct
image

Error

When i start the bot, everything works good but The language is diffrent, so i couldn't understand it. the log is

image

Everything else is working fine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.