Music bot with fancy audioplayer for Discord based on Distube.js. Support Youtube, Spotify, Soundcloud, Yandex Music, VKontakte, Apple Music, Discord Attachments and any HTTP-stream.
Prevent from bot spamming, decrease memory consumption when working with large servers.
Describe the solution you'd like
Create .env variable MAX_QUEUE_SIZE, default value is -1, which means no restriction.
For example if we have queue size 10 and more users trying to spawn new audioplayer, give the error to user about queue limit.
Is your feature request related to a problem?
Prevent from bot spamming, decrease memory consumption when working with large servers.
Describe the solution you'd like
Create .env variable MAX_QUEUE_SIZE, default value is -1, which means no restriction. For example if we have queue size 10 and more users trying to spawn new audioplayer, give the error to user about queue limit.
Describe alternatives you've considered
No response
Additional context
No response