(node:12328) UnhandledPromiseRejectionWarning: MongooseError: Operation `datas.findOne()` buffering timed out after 10000ms at Timeout. (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:185:20) 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:12328) 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:12328) [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. (node:12328) UnhandledPromiseRejectionWarning: MongooseError: Operation `datas.findOne()` buffering timed out after 10000ms at Timeout. (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:185:20) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) (node:12328) 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: 2) (node:12328) UnhandledPromiseRejectionWarning: MongooseError: Operation `datas.findOne()` buffering timed out after 10000ms at Timeout. (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:185:20) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) (node:12328) 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: 3) (node:12328) UnhandledPromiseRejectionWarning: MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/ at NativeConnection.Connection.openUri (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\connection.js:832:32) at C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\index.js:345:10 at C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:5 at new Promise () at promiseOrCallback (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\helpers\promiseOrCallback.js:30:10) at Mongoose._promiseOrCallback (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\index.js:1135:10) at Mongoose.connect (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\mongoose\lib\index.js:344:20) at Function.setURL (C:\Users\Lucas\Desktop\discordbots\MCBlock\node_modules\discord-mongodb-prefix\index.js:13:21) at Object. (C:\Users\Lucas\Desktop\discordbots\MCBlock\index.js:10:11) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 (node:12328) 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: 4)