Comments (11)
plzzzzz help me sir
from discord-bot.
That's not an error with the code but an error with you database.
from discord-bot.
Yeah.
from discord-bot.
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.
U need to go the discord developers page and enable both privileged intents for your bot.
from discord-bot.
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.
@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.
ok sir for turn on Lavalink what should i do like which command i have to use
from discord-bot.
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.
@DynamoYT i added u on discord accept me plz
from discord-bot.
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)
- Website HOT 10
- Button HOT 2
- Slash Cmds HOT 4
- Reaction Role Edit HOT 1
- could you make all commands a interaction command HOT 3
- Volume command dosen't show output but works. HOT 5
- fix button HOT 1
- Shard HOT 6
- Rewrite Discord Bot proposal HOT 1
- Problem with the music commands HOT 2
- Some slash commands don't work but with message commands it does. HOT 3
- Channel.error is not a function HOT 1
- EgglordEmbed is apparently broken HOT 1
- ERROR Error loading shards: Shard 0's process exited before its Client became ready.
- B
- Uncaught Error UnhandledPromiseRejection
- Chalk 5 has changed to ESM. HOT 3
- lavalink HOT 1
- Lavalink HOT 19
- Lavalink isnt working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-bot.