Discord-MusicBot icon indicating copy to clipboard operation
Discord-MusicBot copied to clipboard

Discord Music Bot v5 - Dashboard

Open SudhanPlayz opened this issue 2 years ago • 53 comments

To Do list for dashboard of v5

Features

  • [x] Routes handler
  • [ ] API Authorization
  • [ ] Discord Authorization
  • [ ] Socket.io Handler with Auth
  • [ ] Web Lyrics

Endpoint

  • [ ] POST: Add song to server
  • [ ] GET: server queue
  • [ ] GET: params(query) to search top 10 songs and return it
  • [ ] GET: current song
  • [ ] POST: Delete song from queue

Socket.io

  • [ ] Connection event
  • [ ] Song added event
  • [ ] Queue ended event
  • [ ] Pause n play song event and handling from clients

Web

  • [x] Design a beautiful panel UI

Note: This list in incomplete, In future maybe new things will be added

SudhanPlayz avatar Jan 09 '22 15:01 SudhanPlayz

yeeeeeeeeeeeeeeeeeeeee

DarrenOfficial avatar Jan 09 '22 15:01 DarrenOfficial

h

JotaroKujo0525 avatar Jan 09 '22 23:01 JotaroKujo0525

Maybe I am free next month... if I am then I would do this

SudhanPlayz avatar Jan 10 '22 11:01 SudhanPlayz

Maybe I am free next month... if I am then I would do this

Teach me react js.

DarrenOfficial avatar Jan 10 '22 16:01 DarrenOfficial

Maybe I am free next month... if I am then I would do this

teach me react js.

Design in figma first then react

SudhanPlayz avatar Jan 10 '22 16:01 SudhanPlayz

hmm

k-g-n avatar Jan 17 '22 05:01 k-g-n

Patiently waiting cause i don't know how to figma.

DarrenOfficial avatar Jan 20 '22 15:01 DarrenOfficial

Patiently waiting cause i don't know how to figma.

Learn ;-;

SudhanPlayz avatar Jan 21 '22 02:01 SudhanPlayz

any eta on this?

priyam1234-spec avatar Feb 01 '22 16:02 priyam1234-spec

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

TheOnlyWayUp avatar Feb 04 '22 18:02 TheOnlyWayUp

No? theres no such thing as Delete

DarrenOfficial avatar Feb 04 '22 18:02 DarrenOfficial

~~Just an update, the v5 will use MySQL to store information such as but not limited to:~~ ~~24/7 per server config~~ ~~Music Queue (if bot restart it will picked up the previusly stored queue)~~ ~~Dashboard related config~~ ~~and maybe, just maybe, Playlist.~~

For future reference, SQLite will be used. https://github.com/SudhanPlayz/Discord-MusicBot/issues/638#issuecomment-1444003852

Based on @Checker8763 suggestion.

DarrenOfficial avatar Feb 04 '22 23:02 DarrenOfficial

No? theres no such thing as Delete

https://reqbin.com/Article/HttpDelete

TheOnlyWayUp avatar Feb 05 '22 04:02 TheOnlyWayUp

No? theres no such thing as Delete

https://reqbin.com/Article/HttpDelete

This wouldn't work as what we're trying to accomplish is to allow a user from the dashboard to send a request through the API to delete something on the queue

It goes something like this You → Dashboard(Sends a GET request for what's in the queue for X guild) → API (Sends all the songs in the queue for that "guilds") → You (get the list) Let's say the queue for that guild is

  1. Him
  2. Calling
  3. Knee Deep At ATP

You → Dashboard(sends a POST request to delete song number 3, on guild X) → the song gets removed from the queue! everyone's happy yay

DarrenOfficial avatar Feb 05 '22 05:02 DarrenOfficial

Press a button -> Sends delete request

TheOnlyWayUp avatar Feb 05 '22 10:02 TheOnlyWayUp

no

DarrenOfficial avatar Feb 05 '22 16:02 DarrenOfficial

thats not how it works, you'll need to think it logically

DarrenOfficial avatar Feb 05 '22 16:02 DarrenOfficial

cause there's multiple variables, such as different guilds

DarrenOfficial avatar Feb 05 '22 16:02 DarrenOfficial

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

i just wanna make everything POST and GET lol

SudhanPlayz avatar Feb 06 '22 02:02 SudhanPlayz

exactly, simple 🙏

DarrenOfficial avatar Feb 06 '22 04:02 DarrenOfficial

DarkMan

A7a-Kurdish avatar Mar 04 '22 14:03 A7a-Kurdish

What appended?

Vincenzo160 avatar Mar 05 '22 18:03 Vincenzo160

Need help with react (nextjs)?

popQA17 avatar Apr 23 '22 14:04 popQA17

if you can sure 👍🏼

DarrenOfficial avatar Apr 23 '22 14:04 DarrenOfficial

Any news about it?

xAlcahest avatar May 26 '22 02:05 xAlcahest

Maybe I am free next month... if I am then I would do this

teach me react js.

Design in figma first then react

i can help with it but in ejs (dashboard)

SwadowMaster avatar Jun 02 '22 08:06 SwadowMaster

Need help with react (nextjs)?

yup, you can help if you can. I will be pushing the nextjs project to v5 branch in some hours

SudhanPlayz avatar Jun 10 '22 10:06 SudhanPlayz

Any news about it?

SudhanPlayz avatar Jun 10 '22 10:06 SudhanPlayz

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

XstreamSpeed avatar Jun 10 '22 16:06 XstreamSpeed

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

For reference, the links looks like this discord-music-bot.<user>.repl.co

XstreamSpeed avatar Jun 10 '22 16:06 XstreamSpeed

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

it's not a bug, it's the feature 😊 They will be working soon

SudhanPlayz avatar Jun 11 '22 02:06 SudhanPlayz