RainyXeon / ByteBlaze

🌀 A versatile and powerful music bot for Discord that brings rhythm and melody to your server 🌀
GNU General Public License v3.0
65 stars 21 forks source link

MAX Length for a song #86

Closed en0o0n closed 2 months ago

en0o0n commented 5 months ago

Is your feature request related to a problem? Please describe. Songs Length no limit

Describe the solution you'd like For example, if there is a command to set max length So after setting up the length to 8 min Thats must skip the playing song automatically if its more than 8 minutes long.

RainyXeon commented 5 months ago

@en0o0n Does it will remove all the track more than 8 minutes in the queue after run the command?

en0o0n commented 5 months ago

@RainyXeon Thats really good question

I was thinking of two possibilities: To merge max-length inside the script First Method:

  1. The song can play normally but it should skip automatically to next song in the queue if the max-length reached Second Method:
  2. Or if its easier when the command "set max-length 8 minute enabled" then it must ignore every songs more than 8 minutes

BTW i have an issue with "autoplay" command (Shall i open new issue for it?) Cause i tried to play a song then i enable autoplay Usually it must play me random songs right? But after my requested song finish, the music bot doesnt play any random song.

RainyXeon commented 5 months ago

@en0o0n Can I get your song link? Bc I just see some src contains japanese, korean, chinese cannot search on lavalink

en0o0n commented 5 months ago

@RainyXeon Im sorry i didnt understand. Which song link do you mean?

RainyXeon commented 5 months ago

@en0o0n like the song link that you have autoplay issue.

en0o0n commented 5 months ago

it must be a link? I just tried this:

d! play indila The song started to play d! autoplay The autoplay is enabled

But after the song finished, the queue stayed empty and didnt played any random music.

Am i doing it wrong?

RainyXeon commented 5 months ago

@en0o0n ok so which version/branch are you in?

en0o0n commented 5 months ago

Where can i see the branch version?

Well these what i did i cloned the repo https://github.com/RainyXeon/ByteBlaze.git run npm i run npm run build:full run npm start

I have node version v18.20.2 byteblaze@1.0.0 build:manifest

RainyXeon commented 5 months ago

@en0o0n Can you go to my discord server (check README.md), test my bot and tell more after that?

My bot is on dev branch so I wonder if lavalink doesn't support hindi characters