Giter Club home page Giter Club logo

Comments (11)

jewelalex avatar jewelalex commented on July 19, 2024

plzzzzz help me sir

from discord-bot.

Spiderjockey02 avatar Spiderjockey02 commented on July 19, 2024

That's not an error with the code but an error with you database.

from discord-bot.

idkwhattoputhere121 avatar idkwhattoputhere121 commented on July 19, 2024

Yeah.

from discord-bot.

jewelalex avatar jewelalex commented on July 19, 2024

this error im getthing now

[12:46:29]: ERROR Privileged intent provided is not enabled or whitelisted.
(node:16033) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready.
at Timeout.onTimeout (/root/prottoy/node_modules/discord.js/src/sharding/Shard.js:163:16)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:16033) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:16033) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from discord-bot.

Spiderjockey02 avatar Spiderjockey02 commented on July 19, 2024

U need to go the discord developers page and enable both privileged intents for your bot.

from discord-bot.

jewelalex avatar jewelalex commented on July 19, 2024

now getthing this error

[23:51:14]: ERROR Node: 'localhost', has error: 'connect ECONNREFUSED 127.0.0.1:2333'.
MongoError: command insert requires authentication
at MessageStream.messageHandler (/root/prottoy/node_modules/mongodb/lib/cmap/connection.js:268:20)
at MessageStream.emit (events.js:314:20)
at processIncomingData (/root/prottoy/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream._write (/root/prottoy/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at MessageStream.Writable.write (_stream_writable.js:318:11)
at Socket.ondata (_stream_readable.js:718:22)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
at Socket.Readable.push (_stream_readable.js:213:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
ok: 0,
code: 13,
codeName: 'Unauthorized'
}
[23:51:44]: ERROR Node: 'localhost', has error: 'connect ECONNREFUSED 127.0.0.1:2333'.
[23:52:14]: ERROR Node: 'localhost', has error: 'connect ECONNREFUSED 127.0.0.1:2333'.

idk what to do plz help ........ im using centos 7 with mongodb
if you help me maybe to setup mongodb currectly for your code will be great

thx

from discord-bot.

Samir-OP avatar Samir-OP commented on July 19, 2024

@jewelalex You didn't turn on the Lavalink server. that's why you are getting the error ERROR Node: 'localhost', has error: 'connect ECONNREFUSED 127.0.0.1:2333'.

from discord-bot.

jewelalex avatar jewelalex commented on July 19, 2024

ok sir for turn on Lavalink what should i do like which command i have to use

from discord-bot.

Samir-OP avatar Samir-OP commented on July 19, 2024

ok sir for turn on Lavalink what should i do like which command i have to use

Watch this from 0:32
https://youtu.be/KxDPk9-bME0

from discord-bot.

jewelalex avatar jewelalex commented on July 19, 2024

@DynamoYT i added u on discord accept me plz

from discord-bot.

Spiderjockey02 avatar Spiderjockey02 commented on July 19, 2024

This has been closed as it appears to be user error. If an error still occurs join the support server in the description.

from discord-bot.

Related Issues (20)

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.