Add queue songs limit #282
AlexInCube
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Manage it yourself :/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
At what stage I need to edit the queue? at events addSong and addList? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suggest adding a queue limit so that people can't quickly use the entire memory of the bot by sending it huge playlists. For example, distube.options will have defaultSongsLimit parameter: 2000, but the queue itself will also have setSongsLimit() method. And when the queue tries to overflow, the SongsLimitReached event will be called, to be able to send a message to the user about the reached limit
Beta Was this translation helpful? Give feedback.
All reactions