galnir / Master-Bot

A Discord music bot and dashboard with slash commands, playlist support, Spotify, music quiz, saved playlists, lyrics, gifs and more
MIT License
464 stars 373 forks source link

Try signing in with a different account #781

Closed DraTrav closed 1 year ago

DraTrav commented 1 year ago

Describe the bug When attempting to login to the discord bot's webui I get the error "try signing with a diffrent account"

To Reproduce start bot go to webui attempt to sign in authorize discord

Expected behavior Able to sign in and use the web ui as intended

Screenshots If applicable, add screenshots to help explain your problem.

image 229745006-0f3c6195-3cd6-4961-858a-da7a82740e6b

Desktop (please complete the following information):

Additional context This is probably a miss configuration on my side, just a little lost on how to get the web ui to work.

image
Bacon-Fixation commented 1 year ago

Howdy DraTrav, I have encountered this one, your DB is missing its Schema, run npx prisma db push and run your npm run dev should be good to go,

i should mention if your bot is already in a discord server, you may encounter a "Guild not found" message when running music commands, simply kick the bot from that server and then reinvite the bot, this will enter the info for the Database

i hope this helps

Much Love -Bacon

DraTrav commented 1 year ago

No such luck, "npx prisma db push" did not fix the issue same error and all, also tried removing the bot and readding and still nothing.

DraTrav commented 1 year ago

As you can tell I'm sure, I am great at breaking things, so Thank you for bearing with me through all my issues.

DraTrav commented 1 year ago

Hello! I come with good news, I got it working, however running npx prisma migrate dev was required to get it to function. Then I had to remove and readd the bot and it functioned as intended.

Bacon-Fixation commented 1 year ago

Howdy DraTrav, it is all good, my friend I've had those days when I break everything too :D, wonderful to hear that you got it going, I will close this issue

If you have any other issues or even suggestions, please feel free to post them and we can work on helping ya out.

Much Love -Bacon