const mongodb = require('mongodb'); on my project. Is that supported by Glitch because that doesnt seem to work?
Are you using
localhost in your URI because that may be the issue. And can you send logs so I can be sure?
I see the issue here. The problem is the port I am sure. Glitch doesn’t use that port.
That port has worked on my other bots so
refresh in the console.
it didnt work
Can I have the URI you are using (DM it to me.)
Try connecting to this
mongodb+srv://Admin:i3076yxDMfK9il2U@shard0-jlqmg.mongodb.net/test?retryWrites=true&w=majority IDC about this, it is my testing one.
Okay! I’ll try that now (Didnt work either)
This probably means it isn’t your code. And the URI you sent me worked. Your project’s IP is probably banned. So just remix move the tokens over, and you will be fine.
I did something and it works now!