Discord-MusicBot
Discord-MusicBot copied to clipboard
Discord Music Bot v5 - Dashboard
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
yeeeeeeeeeeeeeeeeeeeee
h
Maybe I am free next month... if I am then I would do this
Maybe I am free next month... if I am then I would do this
Teach me react js.
Maybe I am free next month... if I am then I would do this
teach me react js.
Design in figma first then react
hmm
Patiently waiting cause i don't know how to figma.
Patiently waiting cause i don't know how to figma.
Learn ;-;
any eta on this?
[ ] POST: Delete song from queue
Convert to [ ] DELETE: Delete song from queue
.
No? theres no such thing as Delete
~~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.
No? theres no such thing as Delete
https://reqbin.com/Article/HttpDelete
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
- Him
- Calling
- 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
Press a button -> Sends delete request
no
thats not how it works, you'll need to think it logically
cause there's multiple variables, such as different guilds
[ ] POST: Delete song from queue
Convert to
[ ] DELETE: Delete song from queue
.
i just wanna make everything POST and GET lol
exactly, simple 🙏
DarkMan
What appended?
Need help with react (nextjs)?
if you can sure 👍🏼
Any news about it?
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)
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
Any news about it?
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?
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
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