Minehut / MinehutBOT

GNU General Public License v3.0
16 stars 19 forks source link

Bot Rewrite #8

Closed Sniped closed 4 years ago

Sniped commented 5 years ago

In the future I’m most likely going to be rewriting my code to better support the needs of full customization. Some of the things I will be including in the rewrite are:

BennyDoesStuff commented 5 years ago

Nice summary of everything that should be done.

Fun commands ~ If you check #2 you can see a list of possible commands to include

Music Bot ~ For the first launch of this, we should focus on just having the music bot play music from Youtube. In the future, we could take advantage of the Spotify API to get a list of songs from a playlist and then look up those songs on Youtube so people can queue and play Spotify playlists without having ads if they don't have premium.

Sniped commented 5 years ago

For the Spotify API, how are we going to maintain the premium status of the account we use?

Sniped commented 5 years ago

(include this as well)

Sniped commented 5 years ago

BennyDoesStuff commented 5 years ago

For the Spotify API, how are we going to maintain the premium status of the account we use?

If I'm correct, I know the current Minehut music bot (Red Discord Bot) does it by using the API to look up all the names of the songs in the playlist, then it searches those song names on Youtube and queues it from Youtube onto the playlist. It doesn't require premium status at all since anyone can create an API key, that's how I set it up for the current MH bot and it seems to work fine. See below

~ Code (You might not know Python but it's fairly easy to understand what it's doing) Code

(https://github.com/Cog-Creators/Red-DiscordBot/blob/V3/develop/redbot/cogs/audio/audio.py)

Sniped commented 5 years ago

Status update on the panel, got down a bit of the design.

BennyDoesStuff commented 5 years ago

I like it! Some feedback on that so far:

Also kinda curious, what are you going to be using for the site? Nextjs?

Sniped commented 5 years ago

The site’s using Express for backend and EJS for frontend. I’ll make the logo a little less transparent and add it onto the navbar as well. Also, what should the dashboard include on the front? Gotta give it some content otherwise it looks dull.

BennyDoesStuff commented 5 years ago

I guess what we can include is some basic stats about the Discord server such as:

Sniped commented 5 years ago

What I got done today, I quite like it so far.

Sniped commented 5 years ago

The reason the last three are N/A because no data has been collected yet and I don't need to start collecting data until we're ready for release on prod.

BennyDoesStuff commented 5 years ago

I like it, we could probably update the look a bit but otherwise, I think it's a nice start.

Sniped commented 5 years ago

finished documentation, this also finishes command storing in a database for full customization client-side (website)

Sniped commented 5 years ago

I've decided to scrap my current progress and go for a better design, this time it will be material bootstrap. I will also be writing the new website in React rather than using express EJS. I will include multi guild support as suggested in #16. The main intention I'm going for is customization, we could also include live statistics that will update when they change.