eternitybots / nezuko Goto Github PK
View Code? Open in Web Editor NEWA simple and easy-to-use WhatsApp bot project based on Multi-Device Baileys and written in JavaScript
License: GNU Affero General Public License v3.0
A simple and easy-to-use WhatsApp bot project based on Multi-Device Baileys and written in JavaScript
License: GNU Affero General Public License v3.0
error when starting, no qr code output
I managed to install and run correctly. I changed the options in .ENV
But I don't know where to start.
For example. In the /Education folder there is a calc.js file. How do I call this function in a chat or group?
Please add heroku support
I tried to Deploy the bot on railway but i get this error,i tried changing the mongodb url,This is the issue i'm facing
Connected to the database1
(node:13) [MONGOOSE] DeprecationWarning: Mongoose: the strictQuery
option will be switched back to false
by default in Mongoose 7. Use mongoose.set('strictQuery', false);
if you want to prepare for this change. Or use mongoose.set('strictQuery', true);
to suppress this warning.
(Use node-18 --trace-deprecation ...
to show where the warning was created)
Server running on PORT 7975
/nezuko/node_modules/mongodb/lib/cmap/connection.js:230
callback(new error_1.MongoServerError(document));
^
MongoServerError: user is not allowed to do action [find] on [test.sessionschemas]
at Connection.onMessage (/nezuko/node_modules/mongodb/lib/cmap/connection.js:230:30)
at MessageStream. (/nezuko/node_modules/mongodb/lib/cmap/connection.js:61:60)
at MessageStream.emit (node:events:513:28)
at processIncomingData (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
at MessageStream._write (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at TLSSocket.ondata (node:internal/streams/readable:766:22)
at TLSSocket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
ok: 0,
code: 8000,
codeName: 'AtlasError',
[Symbol(errorLabels)]: Set(0) {}
}
Node.js v18.14.2
Connected to the database1
(node:24) [MONGOOSE] DeprecationWarning: Mongoose: the strictQuery
option will be switched back to false
by default in Mongoose 7. Use mongoose.set('strictQuery', false);
if you want to prepare for this change. Or use mongoose.set('strictQuery', true);
to suppress this warning.
(Use node-18 --trace-deprecation ...
to show where the warning was created)
Server running on PORT 7975
/nezuko/node_modules/mongodb/lib/cmap/connection.js:230
callback(new error_1.MongoServerError(document));
^
MongoServerError: user is not allowed to do action [find] on [test.sessionschemas]
at Connection.onMessage (/nezuko/node_modules/mongodb/lib/cmap/connection.js:230:30)
at MessageStream. (/nezuko/node_modules/mongodb/lib/cmap/connection.js:61:60)
at MessageStream.emit (node:events:513:28)
at processIncomingData (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
at MessageStream._write (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at TLSSocket.ondata (node:internal/streams/readable:766:22)
at TLSSocket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
ok: 0,
code: 8000,
codeName: 'AtlasError',
[Symbol(errorLabels)]: Set(0) {}
}
Node.js v18.14.2
Connected to the database1
(node:35) [MONGOOSE] DeprecationWarning: Mongoose: the strictQuery
option will be switched back to false
by default in Mongoose 7. Use mongoose.set('strictQuery', false);
if you want to prepare for this change. Or use mongoose.set('strictQuery', true);
to suppress this warning.
(Use node-18 --trace-deprecation ...
to show where the warning was created)
Server running on PORT 7975
/nezuko/node_modules/mongodb/lib/cmap/connection.js:230
callback(new error_1.MongoServerError(document));
^
MongoServerError: user is not allowed to do action [find] on [test.sessionschemas]
at Connection.onMessage (/nezuko/node_modules/mongodb/lib/cmap/connection.js:230:30)
at MessageStream. (/nezuko/node_modules/mongodb/lib/cmap/connection.js:61:60)
at MessageStream.emit (node:events:513:28)
at processIncomingData (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
at MessageStream._write (/nezuko/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.