GithubHelp home page GithubHelp logo

Comments (10)

BioCla avatar BioCla commented on August 12, 2024

I am unable to replicate this.
Can you make sure that the DB you're using is set up correctly and that it is connected through the ORM?
Furthermore, please try running the bot using the docker setup and/or from another machine.
This might just be an issue with your current machine.
Also try clearing your node modules and caches and reinstalling the packages

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

I cleared the node modules and caches but no luck.
I tried it on a Windows 11 computer and also had no luck.
also, it says I have 11 vulnerabilities. should I run the fix command?
I'm using MongoDB the server version so it has mongodb+srv://
the /config commands works fine.
I don't know how to run/make a docker.

also, notice that I missed a part of the error message at the bottom:
image

from discord-musicbot.

BioCla avatar BioCla commented on August 12, 2024

Seems like this is a common error between mongo users. Might be the provider.
I'll investigate it when I have the time.

No, you don't need to fix the "vulnerabilities".
Thanks for the report.

If you'd like to set up the docker configuration in the meanwhile you can click on the various links provided in the Readme file, following the instructions

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

my provider is from MongoDB.
that the URL layout I'm using but remove secret info: mongodb+srv://USERNAME:PASSWORD@********.*******.mongodb.net/base
they provide a free one up to 500 MB.

from discord-musicbot.

github-actions avatar github-actions commented on August 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

@BioCla I managed to fix the playlist commands. it took me a while to figure it out lol.

if you want I can put the changes in my GitHub and you can test to see if the changes I did will affect the docker or not. if it does not I can do a pull request.

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

well it did work until it started to throw a different error.... it looks like it not making the full table.
image
image
i guess i should have check to see if it can make more then one playlist...

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

Update: got it kind of working. all the commands work now except the add command.

could someone send me an example layout of what the MongoDB is supposed to look like?
not sure if the model User id is supposed to have Objectid or just the id of the user.
image
image
image

here is what I edited in mongodb.prisma:
image

from discord-musicbot.

RJ1002 avatar RJ1002 commented on August 12, 2024

well, it seems I got the add command working again but not sure if it is because the bot is still being worked on or there is still an issue with the mongodb.prisma file but if there are 2 playlists and you add the same song to the other playlist(2) but the song was already in the other playlist(1), it will remove the song from playlist(1) and add it to playlist(2). so it looks like each song can only be in one playlist. not sure if my mongodb.prisma file is messed up or needs to be fixed.

my mongodb.prisma file:
image
not sure if lines 34 and 42 are working or not.

what the DB look like:
image
image

also, I still would like an example layout of what the MongoDB is supposed to look like.

from discord-musicbot.

DarrenOfficial avatar DarrenOfficial commented on August 12, 2024

also, I still would like an example layout of what the MongoDB is supposed to look like.

Did you figured it out yet? 🙂

from discord-musicbot.

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.